mirror of
https://github.com/loot/loot-condition-interpreter.git
synced 2026-07-27 14:16:09 -07:00
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:
+1
-1
@@ -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
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user