Fail CI if there are clippy warnings

This commit is contained in:
Alexander Niederbühl 2019-07-14 22:37:45 +02:00
parent cc31c7dbf2
commit 86cc424b23
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ fi
if [ "$TRAVIS_JOB_NAME" = "Minimum nightly" ]; then if [ "$TRAVIS_JOB_NAME" = "Minimum nightly" ]; then
cargo fmt --all -- --check cargo fmt --all -- --check
cargo clippy --features "$FEATURES num-complex" cargo clippy --features "$FEATURES num-complex" -- -D warnings
fi fi
for example_dir in examples/*; do for example_dir in examples/*; do