summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2019-08-25 10:33:35 +0200
committerMatthias Beyer <mail@beyermatthias.de>2019-08-25 12:17:07 +0200
commitc7ba2f6b16f0197356b0b2812105850c6812c04b (patch)
tree978c5a1bd42190ef7ef9ee43d9e802c195ce2e32 /.travis.yml
parentce4a026858444c56584a55330f90f4e90db193c2 (diff)
travis: Add clippy/rustfmt job
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
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: