Update rustfmt install command in CI

rustfmt hasn't been a preview for a while now. It still needs to
be installed separately because Travis uses the minimal Rustup
profile, which doesn't include it. Also use the minimal profile on
Windows for consistency and to speed up installation.
This commit is contained in:
Oliver Hamlet
2020-05-29 16:44:22 +01:00
parent d9173d37cd
commit 99d227ec6d
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ addons:
cache: cargo cache: cargo
install: install:
- rustup component add rustfmt-preview - rustup component add rustfmt
- rustfmt --version - rustfmt --version
- cargo install cargo-tarpaulin --version 0.10.2 - cargo install cargo-tarpaulin --version 0.10.2
+2 -2
View File
@@ -8,12 +8,12 @@ cache:
install: install:
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe - appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
- rustup-init -yv - rustup-init --profile=minimal -yv
- set PATH=%PATH%;%USERPROFILE%\.cargo\bin - set PATH=%PATH%;%USERPROFILE%\.cargo\bin
- rustc -vV - rustc -vV
- cargo -vV - cargo -vV
- rustup component add rustfmt-preview - rustup component add rustfmt
- rustfmt --version - rustfmt --version
- cd tests - cd tests