Travis CI: Use AMD64 Linux build only for Coverity build
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>
Tue, 9 Feb 2021 19:24:14 +0000 (20:24 +0100)
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>
Tue, 9 Feb 2021 19:24:14 +0000 (20:24 +0100)
.travis.yml

index 9b54b5472bae7056a425145f127beb17796c02ea..7fb93ae9bdd58aa9bd1c6a84912eecd5b071e75d 100644 (file)
@@ -2,11 +2,6 @@ git:
   quiet: true
   depth: 3
 
-arch:
-  - ppc64le
-  - s390x
-  - arm64
-
 os:
   - linux
 
@@ -16,6 +11,19 @@ language: c
 
 jobs:
   fast_finish: true
+  include:
+  - name: "amd64"
+    arch: amd64
+    if: branch = coverity_scan
+  - name: "arm64"
+    arch: arm64
+    if: branch != coverity_scan
+  - name: "ppc64le"
+    arch: ppc64le
+    if: branch != coverity_scan
+  - name: "s390x"
+    arch: s390x
+    if: branch != coverity_scan
 
 env:
   global: