From 261942922f5e2f21ab48e91a0d2293f598c9aa82 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sat, 15 Sep 2018 10:11:00 -0700 Subject: [PATCH] Require clippy to pass when it can be installed --- saphyr/.travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/saphyr/.travis.yml b/saphyr/.travis.yml index 513b2ef..b31f2fd 100644 --- a/saphyr/.travis.yml +++ b/saphyr/.travis.yml @@ -9,10 +9,10 @@ matrix: script: cargo build - rust: 1.22.1 - 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: | + if rustup component add clippy-preview; then + cargo clippy -- -Dclippy + fi script: - cargo build