Skip to content

Commit 5505ed4

Browse files
committed
chore(CI): Add clippy
1 parent 8610243 commit 5505ed4

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.travis.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,21 @@ rust:
44
- nightly
55
- beta
66
- stable
7+
8+
matrix:
9+
include:
10+
- rust: nightly-2017-10-09
11+
env:
12+
- CLIPPY_VERS="0.0.165"
13+
- CLIPPY_TOOLCHAIN="2017-10-09"
14+
install:
15+
- cargo +nightly-$CLIPPY_TOOLCHAIN clippy -- --version || travis_wait cargo +nightly-$CLIPPY_TOOLCHAIN install clippy --vers "$CLIPPY_VERS" --force
16+
- export PATH=$HOME/.cargo/bin:$PATH
17+
script:
18+
- cargo +nightly-$CLIPPY_TOOLCHAIN clippy -- -D warnings
19+
20+
script:
21+
- rustc -Vv
22+
- cargo -V
23+
- cargo check --verbose
24+
- cargo test --verbose

0 commit comments

Comments
 (0)