diff options
author | Christian Duerr <chrisduerr@users.noreply.github.com> | 2018-01-06 01:42:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-06 01:42:55 +0000 |
commit | 2920cbe7103f03a45080bfb7610bd7f481f36361 (patch) | |
tree | 4839deca8a54d8e2546d124eb26178fd1eac4d4a /.travis.yml | |
parent | 650b5a0cbaccc6de2b53240372c2be79739d5d12 (diff) | |
download | alacritty-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.yml | 11 |
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" |