build: Fix stale builds
This commit is contained in:
parent
1ce1401263
commit
ba41d73dc3
|
@ -45,10 +45,8 @@ script:
|
|||
- cargo test --all
|
||||
- cargo test --all --no-default-features
|
||||
- |
|
||||
sh -ex;
|
||||
if [ "$TARGET" = x86_64-unknown-linux-gnu ] && [ "$TRAVIS_RUST_VERSION" = stable ]; then
|
||||
rustup component add rustfmt;
|
||||
rustfmt -vV;
|
||||
rustup component add rustfmt && \
|
||||
cargo fmt --all -- --check;
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue