summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 009f3ca2..f3c89abf 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -55,6 +55,18 @@ matrix:
script:
- cargo build --all --all-features -j 1 || exit 1
- cargo test --all --all-features -j 1 || exit 1
+ - language: rust
+ rust: stable
+ name: clippy
+ cache:
+ directories:
+ - /home/travis/.cargo
+ before_cache:
+ - rm -rf /home/travis/.cargo/registry
+ install:
+ - rustup component add clippy
+ script:
+ - cargo clippy --all --all-targets
addons: