aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/travis-build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/travis-build.sh b/scripts/travis-build.sh
index fca1773e..a5f7ad56 100755
--- a/scripts/travis-build.sh
+++ b/scripts/travis-build.sh
@@ -24,7 +24,7 @@ setup_env() {
# 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" ] || \
+ if [ "${COVERITY_SCAN}" != "true" ] || \
[ -n "${TRAVIS_TAG}" ] || \
[ "${TRAVIS_PULL_REQUEST}" = "true" ]
then