Run clippy on serde_test in Travis

This commit is contained in:
David Tolnay 2017-11-06 22:28:58 -08:00
parent 213071fe5c
commit f4ae0888c8
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
2 changed files with 4 additions and 0 deletions

View File

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

View File

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