From a3908faf24c9f0fdbc62f53913be78a8a103d965 Mon Sep 17 00:00:00 2001 From: Chris Wong <lambda.fairy@gmail.com> Date: Sun, 6 Nov 2016 12:49:44 +1300 Subject: [PATCH] Travis: run Clippy :) --- .travis.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 311f792..334fb13 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,12 @@ language: rust rust: nightly sudo: false + +before_script: + - cargo install clippy + script: - - ( cd maud && cargo test --all-features --verbose ) - - ( cd maud_macros && cargo test --all-features --verbose ) + - ( cd maud && cargo test --all-features ) + - ( cd maud && cargo clippy -- -D warnings ) + - ( cd maud_macros && cargo test --all-features ) + - ( cd maud_macros && cargo clippy -- -D warnings )