ci: install minimal profile by default (#1729)

This commit is contained in:
Taiki Endo 2019-11-04 05:08:07 +09:00 committed by Carl Lerche
parent 6b35a1e8b0
commit 3948e16292
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ task:
setup_script:
- pkg install -y curl
- curl https://sh.rustup.rs -sSf --output rustup.sh
- sh rustup.sh -y --default-toolchain beta
- sh rustup.sh -y --profile minimal --default-toolchain beta
- . $HOME/.cargo/env
- rustup target add i686-unknown-freebsd
- |

View File

@ -2,7 +2,7 @@ steps:
# Linux and macOS.
- script: |
set -e
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain none
curl https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal --default-toolchain none
export PATH=$PATH:$HOME/.cargo/bin
rustup toolchain install $RUSTUP_TOOLCHAIN
rustup default $RUSTUP_TOOLCHAIN
@ -15,7 +15,7 @@ steps:
# Windows.
- script: |
curl -sSf -o rustup-init.exe https://win.rustup.rs
rustup-init.exe -y --default-toolchain none
rustup-init.exe -y --profile minimal --default-toolchain none
set PATH=%PATH%;%USERPROFILE%\.cargo\bin
rustup toolchain install %RUSTUP_TOOLCHAIN%
rustup default %RUSTUP_TOOLCHAIN%