From d1175555090a50b6b957d9f8706c4e0bca9d9f75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Sun, 5 Jan 2020 15:33:24 +0100 Subject: [PATCH] travis: Use the rust language for the lint job. --- .travis.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 706e6a3..ead2f39 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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/