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