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.
This commit is contained in:
Mike Frysinger 2016-06-24 05:09:28 -04:00
parent af8840d910
commit e0f2c17988

View File

@ -21,6 +21,8 @@ setup_env() {
# 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() {
if [ "${TRAVIS_JOB_NUMBER##*.}" != "1" ] || \
[ -n "${TRAVIS_TAG}" ] || \