install minimal profile by default

This commit is contained in:
Ralf Jung 2019-10-16 10:02:31 +02:00
parent 0d01c306fe
commit a94d9d2c1d
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@ install:
- set /p RUSTC_HASH=<rust-version
# Install Rust
- curl -sSf --retry 3 -o rustup-init.exe https://win.rustup.rs/
- rustup-init.exe -y --default-host %TARGET% --default-toolchain stable
- rustup-init.exe -y --default-host %TARGET% --default-toolchain stable --profile minimal
- set PATH=%USERPROFILE%\.cargo\bin;%PATH%
- rustup default stable
- rustup uninstall beta

View file

@ -31,7 +31,7 @@ before_script:
RUSTC_HASH=$(cat rust-version)
fi
# Install Rust ("stable" toolchain for better caching, it is just used to build rustup-toolchain-install-master)
- curl https://build.travis-ci.org/files/rustup-init.sh -sSf | sh -s -- -y --default-toolchain stable
- curl https://build.travis-ci.org/files/rustup-init.sh -sSf | sh -s -- -y --default-toolchain stable --profile minimal
- export PATH=$HOME/.cargo/bin:$PATH
- rustup default stable
- rustup uninstall beta