Keep installed tools up-to-date using cargo-update

This commit is contained in:
Philipp Oppermann
2016-12-19 11:01:21 +01:00
parent 9583cdea28
commit f4ff2b0000

View File

@@ -9,8 +9,10 @@ before_script:
- curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain=$TRAVIS_RUST_VERSION -y
- source ~/.cargo/env
- rustup component add rust-src
- (test -x $HOME/.cargo/bin/cargo-install-update || cargo install cargo-update)
- (test -x $HOME/.cargo/bin/rustfmt || cargo install rustfmt)
- (test -x $HOME/.cargo/bin/xargo || cargo install xargo)
- cargo install-update -a
sudo: false