mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Fix CI by avoiding duplicate rustup installation (#330)
Travis uses rustup by default now
This commit is contained in:
committed by
GitHub
parent
31806c7e92
commit
7d584818ff
@@ -6,8 +6,6 @@ rust:
|
|||||||
cache: cargo
|
cache: cargo
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain=$TRAVIS_RUST_VERSION -y
|
|
||||||
- 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/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)
|
||||||
|
|||||||
Reference in New Issue
Block a user