travis: Add clippy/rustfmt job
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
parent
ce4a026858
commit
c7ba2f6b16
1 changed files with 12 additions and 0 deletions
12
.travis.yml
12
.travis.yml
|
@ -55,6 +55,18 @@ matrix:
|
||||||
script:
|
script:
|
||||||
- cargo build --all --all-features -j 1 || exit 1
|
- cargo build --all --all-features -j 1 || exit 1
|
||||||
- cargo test --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:
|
addons:
|
||||||
|
|
Loading…
Reference in a new issue