Skip to content

Commit 61d1f57

Browse files
committed
Keep installed tools up-to-date using cargo-update
1 parent 4910447 commit 61d1f57

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

+2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ before_script:
99
- curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain=$TRAVIS_RUST_VERSION -y
1010
- source ~/.cargo/env
1111
- rustup component add rust-src
12+
- (test -x $HOME/.cargo/bin/cargo-install-update || cargo install cargo-update)
1213
- (test -x $HOME/.cargo/bin/rustfmt || cargo install rustfmt)
1314
- (test -x $HOME/.cargo/bin/xargo || cargo install xargo)
15+
- cargo install-update -a
1416

1517
sudo: false
1618

0 commit comments

Comments
 (0)