Skip to content

Commit 0e9e848

Browse files
Merge pull request #11 from ian-h-chamberlain/clippy-fmt-in-travis
Add clippy + rustfmt check to travis
2 parents 82892fa + 9b20e91 commit 0e9e848

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
@@ -7,7 +7,16 @@ rust:
77

88
cache: cargo
99

10-
matrix:
10+
jobs:
11+
include:
12+
- name: Lint and format check
13+
before_install:
14+
- rustup component add clippy rustfmt
15+
rust: stable
16+
script:
17+
- cargo fmt --verbose -- --check
18+
- cargo clippy --verbose --all-targets
19+
1120
allow_failures:
1221
- rust: nightly
1322
- rust: beta

0 commit comments

Comments
 (0)