mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 06:17:49 +00:00
Test for rustfmt/xargo instead of using || true (#257)
This commit is contained in:
committed by
GitHub
parent
bef61116fd
commit
9583cdea28
@@ -9,8 +9,8 @@ before_script:
|
||||
- curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain=$TRAVIS_RUST_VERSION -y
|
||||
- source ~/.cargo/env
|
||||
- rustup component add rust-src
|
||||
- (cargo install rustfmt || true)
|
||||
- (cargo install xargo || true)
|
||||
- (test -x $HOME/.cargo/bin/rustfmt || cargo install rustfmt)
|
||||
- (test -x $HOME/.cargo/bin/xargo || cargo install xargo)
|
||||
|
||||
sudo: false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user