.travis.yml: Call coverity scan from job 1 only.
authorFlorian Forster <octo@collectd.org>
Fri, 1 Dec 2017 10:25:06 +0000 (11:25 +0100)
committerFlorian Forster <octo@collectd.org>
Fri, 1 Dec 2017 10:25:06 +0000 (11:25 +0100)
The logic was inverted.

.travis.yml

index 0dc3ad0..339d2dc 100644 (file)
@@ -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