travis: Use the rust language for the lint job.

master
Damir Jelić 2020-01-05 15:33:24 +01:00
parent 7fd667f4e0
commit d117555509
1 changed files with 8 additions and 8 deletions

View File

@ -43,15 +43,15 @@ before_script:
- rustc --version
- python --version
matrix:
jobs:
include:
- python: 3.7
name: 'rust linters'
install: rustup component add clippy rustfmt
script:
- cargo clippy
- cargo fmt -- --check
stage: lint
- language: rust
name: 'rust linters'
install: rustup component add clippy rustfmt
script:
- cargo clippy
- cargo fmt -- --check
stage: lint
script:
- pipenv run py.test -rws -v tests/