Skip to content

Commit 3b5c3d1

Browse files
committed
chore(ci): always reinstall nightly-dependent tools
Alas, there's not much sense in caching rustfmt-nightly and clippy while using the latest nightly compiler. They must be recompiled anyway.
1 parent d2f772d commit 3b5c3d1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.travis.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@ env:
99
- RUST_BACKTRACE=1
1010

1111
install:
12-
- which cargo-install-update || cargo install cargo-update
13-
- which rustfmt || cargo install rustfmt-nightly
14-
- which cargo-clippy || cargo install clippy
15-
- cargo install-update --all
12+
- cargo install --force rustfmt-nightly
13+
- cargo install --force clippy
1614

1715
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(rustc --print sysroot)/lib
1816

0 commit comments

Comments
 (0)