summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorChristian Duerr <chrisduerr@users.noreply.github.com>2018-01-06 01:42:55 +0000
committerGitHub <noreply@github.com>2018-01-06 01:42:55 +0000
commit2920cbe7103f03a45080bfb7610bd7f481f36361 (patch)
tree4839deca8a54d8e2546d124eb26178fd1eac4d4a /.travis.yml
parent650b5a0cbaccc6de2b53240372c2be79739d5d12 (diff)
downloadalacritty-2920cbe7103f03a45080bfb7610bd7f481f36361.tar.gz
alacritty-2920cbe7103f03a45080bfb7610bd7f481f36361.zip
Add clippy check to travis
This commit adds clippy as a required step of the build process. To make this possible, all existing clippy issues have been resolved.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml11
1 files changed, 10 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index e92c8591..f5356354 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,10 +11,19 @@ rust:
- stable
- nightly
+env:
+ - FEATURES="clippy"
+ - FEATURES=""
+
matrix:
fast_finish: true
+ exclude:
+ - rust: stable
+ env: FEATURES="clippy"
+ - rust: nightly
+ env: FEATURES=""
allow_failures:
- rust: nightly
script:
- - cargo test --no-default-features
+ - cargo test --no-default-features --features "$FEATURES"