Skip to content

Commit

Permalink
Fix missing rustfmt on Travis CI
Browse files Browse the repository at this point in the history
My last commit passed due to a cached rustfmt. Travis installs Rust's
minimal profile, so rustfmt still needs to be explictly installed.

Install the minimal profile on AppVeyor to speed it up a little and make
the two platforms more consistent.
  • Loading branch information
Ortham committed Feb 3, 2020
1 parent b45cba3 commit ad65a81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ addons:
cache: cargo

install:
- rustup component add rustfmt
- rustfmt --version
- cargo install cargo-tarpaulin --version 0.10.2

Expand Down
3 changes: 2 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ cache:

install:
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
- rustup-init -yv
- rustup-init --profile=minimal -yv
- rustup component add rustfmt
- set PATH=%PATH%;%USERPROFILE%\.cargo\bin
- rustc -vV
- cargo -vV
Expand Down

0 comments on commit ad65a81

Please sign in to comment.