Skip to content

Commit cc407ed

Browse files
authored
Merge pull request RustPython#412 from veera83372/travis-clippy
added cargo clippy to travis
2 parents cb59d76 + fa927c5 commit cc407ed

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.travis.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ env:
1616
cache: cargo
1717

1818
matrix:
19+
fast_finish: true
1920
include:
2021
# To test the snippets, we use Travis' Python environment (because
2122
# installing rust ourselves is a lot easier than installing Python)
@@ -86,9 +87,20 @@ matrix:
8687
env:
8788
- REGULAR_TEST=false
8889
- DEPLOY_DEMO=true
90+
- name: cargo-clippy
91+
language: rust
92+
rust: stable
93+
cache: cargo
94+
before_script:
95+
- rustup component add clippy
96+
script:
97+
- cargo clippy
98+
env:
99+
- REGULAR_TEST=true
89100
allow_failures:
90101
- rust: nightly
91102
env: REGULAR_TEST=true
103+
- name: cargo-clippy
92104

93105
deploy:
94106
- provider: pages

0 commit comments

Comments
 (0)