From 38166135dce3c127856efb8c983ebd956b8977a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Wed, 15 Jul 2020 15:59:04 +0200 Subject: [PATCH] travis: Add a clippy stage. --- .travis.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e7e161b2..e7136a1a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,13 +12,21 @@ jobs: name: macOS 10.15 include: - - stage: Lint + - stage: Format os: linux before_script: - rustup component add rustfmt script: - cargo fmt --all -- --check + - stage: Clippy + os: linux + before_script: + - rustup component add clippy + script: + - cargo clippy --all-targets --all-features -- -D warnings + + - stage: Test os: linux dist: bionic