From 03ad50b38935a92814f41e8e4baa96cb03480496 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 --- parser/.travis.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/parser/.travis.yml b/parser/.travis.yml index 00c1406..fe31ed0 100644 --- a/parser/.travis.yml +++ b/parser/.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