aboutsummaryrefslogtreecommitdiff
path: root/travis
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-06-24 05:07:55 -0400
committerMike Frysinger <vapier@gentoo.org>2016-06-24 05:07:55 -0400
commit0f7c84468c66a6c3a9ae081b4017b53b92dde87f (patch)
tree2a58f64189740ad7a7552787b6245f24b8c9326a /travis
parentar: make sure file name is always NUL terminated (diff)
downloadpax-utils-0f7c84468c66a6c3a9ae081b4017b53b92dde87f.tar.gz
pax-utils-0f7c84468c66a6c3a9ae081b4017b53b92dde87f.tar.bz2
pax-utils-0f7c84468c66a6c3a9ae081b4017b53b92dde87f.zip
travis: note misbehavior by coverity addon when throttled
Example here: https://travis-ci.org/libgd/libgd/builds/139971212 The last line in the log is just the throttle notice.
Diffstat (limited to 'travis')
-rwxr-xr-xtravis/main.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/travis/main.sh b/travis/main.sh
index 9c8c9c9..50e8a2f 100755
--- a/travis/main.sh
+++ b/travis/main.sh
@@ -4,6 +4,8 @@
# We have to do this by hand rather than use the coverity addon because of
# matrix explosion: https://github.com/travis-ci/travis-ci/issues/1975
+# We also do it by hand because when we're throttled, the addon will exit
+# the build immediately and skip the main script!
coverity_scan() {
local reason
[[ ${TRAVIS_JOB_NUMBER} != *.1 ]] && reason="not first build job"