travis: Use the rust language for the lint job.
parent
7fd667f4e0
commit
d117555509
16
.travis.yml
16
.travis.yml
|
@ -43,15 +43,15 @@ before_script:
|
||||||
- rustc --version
|
- rustc --version
|
||||||
- python --version
|
- python --version
|
||||||
|
|
||||||
matrix:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- python: 3.7
|
- language: rust
|
||||||
name: 'rust linters'
|
name: 'rust linters'
|
||||||
install: rustup component add clippy rustfmt
|
install: rustup component add clippy rustfmt
|
||||||
script:
|
script:
|
||||||
- cargo clippy
|
- cargo clippy
|
||||||
- cargo fmt -- --check
|
- cargo fmt -- --check
|
||||||
stage: lint
|
stage: lint
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- pipenv run py.test -rws -v tests/
|
- pipenv run py.test -rws -v tests/
|
||||||
|
|
Loading…
Reference in New Issue