From ba41d73dc38f1ce80722dac4e4778c18e0118db2 Mon Sep 17 00:00:00 2001 From: Lzu Tao Date: Fri, 28 Jun 2019 23:14:26 +0700 Subject: [PATCH] build: Fix stale builds --- .travis.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index bb604074..dbe44b21 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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