]> The Tcpdump Group git mirrors - tcpdump/commitdiff
travis: try removing the matrix: clause and putting back the Coverity stuff.
authorGuy Harris <[email protected]>
Fri, 15 May 2020 00:03:12 +0000 (17:03 -0700)
committerGuy Harris <[email protected]>
Fri, 15 May 2020 00:03:12 +0000 (17:03 -0700)
Somebody claimed in

    https://travis-ci.community/t/if-doesnt-appear-to-work-in-exclude/8595/5

that "matrix: is now an alias to jobs:", and suggested combining them,
so do so.

.travis.yml

index f61c899599989ca9a703c1a8006a27a6c595bf3b..b5a23525de9254dd36e3090acc3c601c06d5ff2f 100644 (file)
@@ -34,7 +34,31 @@ compiler:
 # compatibility with build scripts etc. that expect the compiler to be
 # "gcc", so don't bother doing "gcc" builds on macOS.
 #
 # compatibility with build scripts etc. that expect the compiler to be
 # "gcc", so don't bother doing "gcc" builds on macOS.
 #
+# Furthermore, the Coverity-branch builds seem to time out on the
+# non-x86 platforms, so suppress them as well.  (Are they supported
+# at all?)
+#
+# XXX - what is the fast_finish clause there for?  According to
+#
+#    https://docs.travis-ci.com/user/build-matrix/#fast-finishing
+#
+# "If some rows in the build matrix are allowed to fail, the build 
+# won't be marked as finished until they have completed.
+#
+# To mark the build as finished as soon as possible, add fast_finish:
+# true to the jobs section of your .travis.yml like this:
+#
+# jobs:
+#   fast_finish: true
+#
+# Now, the build result will be determined as soon as all the required
+# jobs finish, based on these results, while the rest of the
+# allow_failures jobs continue to run."
+#
+# but we *have* no allow_failures jobs.
+#
 jobs:
 jobs:
+  fast_finish: true
   exclude:
   - arch: ppc64le
     os: osx
   exclude:
   - arch: ppc64le
     os: osx
@@ -44,6 +68,12 @@ jobs:
     os: osx
   - compiler: gcc
     os: osx
     os: osx
   - compiler: gcc
     os: osx
+  - if: branch = coverity_scan
+    arch: ppc64le
+  - if: branch = coverity_scan
+    arch: s390x
+  - if: branch = coverity_scan
+    arch: arm64
 
 cache: ccache
 
 
 cache: ccache
 
@@ -76,9 +106,6 @@ env:
     - BUILD_LIBPCAP=yes CMAKE=yes REMOTE=enable  CRYPTO=no
     - BUILD_LIBPCAP=yes CMAKE=yes REMOTE=enable  CRYPTO=yes
 
     - BUILD_LIBPCAP=yes CMAKE=yes REMOTE=enable  CRYPTO=no
     - BUILD_LIBPCAP=yes CMAKE=yes REMOTE=enable  CRYPTO=yes
 
-matrix:
-  fast_finish: true
-
 addons:
   coverity_scan:
     # customized build script URL
 addons:
   coverity_scan:
     # customized build script URL