mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Keep installed tools up-to-date using cargo-update
This commit is contained in:
@@ -9,8 +9,10 @@ before_script:
|
|||||||
- curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain=$TRAVIS_RUST_VERSION -y
|
- curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain=$TRAVIS_RUST_VERSION -y
|
||||||
- source ~/.cargo/env
|
- source ~/.cargo/env
|
||||||
- rustup component add rust-src
|
- 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/rustfmt || cargo install rustfmt)
|
||||||
- (test -x $HOME/.cargo/bin/xargo || cargo install xargo)
|
- (test -x $HOME/.cargo/bin/xargo || cargo install xargo)
|
||||||
|
- cargo install-update -a
|
||||||
|
|
||||||
sudo: false
|
sudo: false
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user