From decf69540de7e43b3fbaf9b1aaa679519ed5eb0c Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sat, 15 Sep 2018 09:31:41 -0700 Subject: [PATCH] Add a dedicated clippy builder --- saphyr/.travis.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/saphyr/.travis.yml b/saphyr/.travis.yml index 00c1406..fe31ed0 100644 --- a/saphyr/.travis.yml +++ b/saphyr/.travis.yml @@ -8,14 +8,12 @@ matrix: - rust: nightly - rust: 1.13.0 script: cargo build + - rust: nightly + script: rustup component add clippy-preview && cargo clippy -- -Dclippy allow_failures: - rust: nightly + script: rustup component add clippy-preview && cargo clippy -- -Dclippy script: - cargo build --verbose - - | - if [ "$TRAVIS_RUST_VERSION" = nightly ]; then - cargo install clippy --debug - cargo clippy -- -Dclippy - fi - cargo test --verbose