From: Florian Forster Date: Fri, 1 Dec 2017 10:25:06 +0000 (+0100) Subject: .travis.yml: Call coverity scan from job 1 only. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=9debdea34f2e1e6796a8b543efc6e80b80149632;p=collectd.git .travis.yml: Call coverity scan from job 1 only. The logic was inverted. --- diff --git a/.travis.yml b/.travis.yml index 0dc3ad00..339d2dc5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,7 @@ compiler: language: c before_install: # When building the coverity_scan branch, allow only the first job to continue to avoid travis-ci/travis-ci#1975. - - if [[ "${TRAVIS_BRANCH}" == "coverity_scan" && "${TRAVIS_JOB_NUMBER}" =~ \.1$ ]]; then exit 0; fi + - if [[ "${TRAVIS_BRANCH}" == "coverity_scan" && ! "${TRAVIS_JOB_NUMBER}" =~ \.1$ ]]; then exit 0; fi - sudo apt-get update -qq - sudo apt-get install -qq --no-install-recommends autotools-dev