From 2063e61211e2d2a7f8dc88014e446a382db3a436 Mon Sep 17 00:00:00 2001 From: Chris Wong <lambda.fairy@gmail.com> Date: Mon, 12 Dec 2016 21:33:50 +1300 Subject: [PATCH] Travis: don't fail the build if Clippy is broken --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index cbbb3e1..15cc8e2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,12 +3,12 @@ rust: nightly sudo: false before_script: - - cargo install clippy + - cargo install clippy || true script: - ( cd maud && cargo test --all-features ) - - ( cd maud && cargo clippy -- -D warnings ) + - if command -v cargo-clippy; then ( cd maud && cargo clippy -- -D warnings ); fi - ( cd maud_macros && cargo test --all-features ) - - ( cd maud_macros && cargo clippy -- -D warnings ) + - if command -v cargo-clippy; then ( cd maud_macros && cargo clippy -- -D warnings ); fi - ( cd maud_extras && cargo test --all-features ) - - ( cd maud_extras && cargo clippy -- -D warnings ) + - if command -v cargo-clippy; then ( cd maud_extras && cargo clippy -- -D warnings ); fi