Skip to content

Commit cc824b3

Browse files
Add clippy + rustfmt check to travis
1 parent 82892fa commit cc824b3

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.travis.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,22 @@
11
language: rust
22

3+
before_install:
4+
- rustup component clippy rustfmt
5+
36
rust:
47
- stable
58
- beta
69
- nightly
710

811
cache: cargo
912

10-
matrix:
13+
jobs:
14+
include:
15+
- name: Lint and format check
16+
rust: stable
17+
script:
18+
- cargo fmt --verbose -- --check
19+
- cargo clippy
1120
allow_failures:
1221
- rust: nightly
1322
- rust: beta

0 commit comments

Comments
 (0)