summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2020-05-14 00:12:12 -0700
committerGuy Harris <guy@alum.mit.edu>2020-05-14 00:12:12 -0700
commit5fd77bf58db4a16ec3989decc50cf18b2fef30f8 (patch)
tree35c08084f3770563df1a01ae734db2f48da247b6 /.travis.yml
parentb0f9be3c70a3933aede27284edec405e3fcb9599 (diff)
downloadtcpdump-5fd77bf58db4a16ec3989decc50cf18b2fef30f8.tar.gz
travis: check for Coverity builds in a different way.
Apparently, COVERITY_SCAN_BRANCH isn't set until the script is run: https://github.com/travis-ci/travis-ci/issues/6868 so it's not set when the exclusion of jobs is done. Instead, exclude Power ISA, z/Architecture, and Arm builds if the branch is coverity_scan.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index b8981003..f0651eb7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -49,11 +49,11 @@ jobs:
- compiler: gcc
os: osx
- arch: ppc64le
- env: COVERITY_SCAN_BRANCH=1
+ if: branch == coverity_scan
- arch: s390x
- env: COVERITY_SCAN_BRANCH=1
+ if: branch == coverity_scan
- arch: arm64
- env: COVERITY_SCAN_BRANCH=1
+ if: branch == coverity_scan
cache: ccache