Skip to content

Commit de9a917

Browse files
committed
add Clippy to CI
1 parent 347d481 commit de9a917

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.travis.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,17 @@ matrix:
3939
env:
4040
- JOBCACHE=3
4141

42+
- name: Lint code with clippy
43+
language: rust
44+
rust: stable
45+
cache: cargo
46+
before_script:
47+
- rustup component add clippy
48+
script:
49+
- cargo clippy --all -- -Dwarnings
50+
env:
51+
- JOBCACHE=3
52+
4253
- name: publish documentation
4354
language: rust
4455
rust: stable

0 commit comments

Comments
 (0)