1 |
commit: 0f7c84468c66a6c3a9ae081b4017b53b92dde87f |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 24 09:07:55 2016 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 24 09:07:55 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=0f7c8446 |
7 |
|
8 |
travis: note misbehavior by coverity addon when throttled |
9 |
|
10 |
Example here: https://travis-ci.org/libgd/libgd/builds/139971212 |
11 |
The last line in the log is just the throttle notice. |
12 |
|
13 |
travis/main.sh | 2 ++ |
14 |
1 file changed, 2 insertions(+) |
15 |
|
16 |
diff --git a/travis/main.sh b/travis/main.sh |
17 |
index 9c8c9c9..50e8a2f 100755 |
18 |
--- a/travis/main.sh |
19 |
+++ b/travis/main.sh |
20 |
@@ -4,6 +4,8 @@ |
21 |
|
22 |
# We have to do this by hand rather than use the coverity addon because of |
23 |
# matrix explosion: https://github.com/travis-ci/travis-ci/issues/1975 |
24 |
+# We also do it by hand because when we're throttled, the addon will exit |
25 |
+# the build immediately and skip the main script! |
26 |
coverity_scan() { |
27 |
local reason |
28 |
[[ ${TRAVIS_JOB_NUMBER} != *.1 ]] && reason="not first build job" |