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 - 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/