[PATCH] travis/coverity: Skip all jobs except for the first one

1 view
Skip to first unread message

Jan Kiszka

unread,
Oct 12, 2017, 12:51:50 PM10/12/17
to efibootguard-dev
From: Jan Kiszka <jan.k...@siemens.com>

Avoids warnings about failing coverity runs.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>
---
.travis.yml | 1 +
1 file changed, 1 insertion(+)

diff --git a/.travis.yml b/.travis.yml
index 7a919b4..d5a3e32 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -23,6 +23,7 @@ compiler:
sudo: required

before_install:
+ - if [ $TRAVIS_BRANCH = coverity_scan ] && [ ${TRAVIS_JOB_NUMBER##*.} != 1 ]; then exit 0; fi
- echo -n | openssl s_client -connect scan.coverity.com:444 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-certificates.crt

addons:
--
2.12.3
Reply all
Reply to author
Forward
0 new messages