Fail CI if there are clippy warnings
This commit is contained in:
parent
cc31c7dbf2
commit
86cc424b23
|
@ -12,7 +12,7 @@ fi
|
|||
|
||||
if [ "$TRAVIS_JOB_NAME" = "Minimum nightly" ]; then
|
||||
cargo fmt --all -- --check
|
||||
cargo clippy --features "$FEATURES num-complex"
|
||||
cargo clippy --features "$FEATURES num-complex" -- -D warnings
|
||||
fi
|
||||
|
||||
for example_dir in examples/*; do
|
||||
|
|
Loading…
Reference in New Issue