Travis: don't fail the build if Clippy is broken

This commit is contained in:
Chris Wong 2016-12-12 21:33:50 +13:00
parent 504cd9e53d
commit 2063e61211

View file

@ -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