diff --git a/serde_test/src/lib.rs b/serde_test/src/lib.rs index 71eb8396..c6eeb4c6 100644 --- a/serde_test/src/lib.rs +++ b/serde_test/src/lib.rs @@ -157,6 +157,7 @@ #![doc(html_root_url = "https://docs.rs/serde_test/1.0.18")] +#![cfg_attr(feature = "cargo-clippy", deny(clippy))] #![cfg_attr(feature = "cargo-clippy", allow(float_cmp))] #[macro_use] diff --git a/travis.sh b/travis.sh index a936554d..c498462e 100755 --- a/travis.sh +++ b/travis.sh @@ -34,6 +34,9 @@ if [ -n "${CLIPPY}" ]; then cd "$DIR/serde_derive" cargo clippy -- -Dclippy + cd "$DIR/serde_test" + cargo clippy -- -Dclippy + cd "$DIR/test_suite" cargo clippy --features unstable -- -Dclippy