From e975fa61d9acaaff6da1fcdf266702f90db69bc6 Mon Sep 17 00:00:00 2001 From: Cecile Tonglet Date: Wed, 23 Sep 2020 13:59:48 +0200 Subject: [PATCH] Fix .travis.yml again --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 1b2e11c..b24a647 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ before_script: # NOTE: will only run rustfmt and clippy if the branch is not main (and not for tags) script: - 'if [ "$TRAVIS_BRANCH" != main ] && [ "$TRAVIS_BRANCH" != "$TRAVIS_TAG" ]; then rustfmt --check **/*.rs; fi' - - '[ "$TRAVIS_BRANCH" != main ] && [ "$TRAVIS_BRANCH" != "$TRAVIS_TAG" ]; then cargo clippy --all-targets --all-features -- -D warnings; fi' + - 'if [ "$TRAVIS_BRANCH" != main ] && [ "$TRAVIS_BRANCH" != "$TRAVIS_TAG" ]; then cargo clippy --all-targets --all-features -- -D warnings; fi' - cargo build - cargo test - cargo doc