From f4ae0888c8ea528799a1ca1c68119fb6dc6dd687 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Mon, 6 Nov 2017 22:28:58 -0800 Subject: [PATCH] Run clippy on serde_test in Travis --- serde_test/src/lib.rs | 1 + travis.sh | 3 +++ 2 files changed, 4 insertions(+) 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