From 46ac5e0ee26365c6a3326ca99e674cb37f365b71 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Tue, 25 Apr 2017 01:01:18 +0800 Subject: [PATCH] TravisCI: only allow coverity build job when `build_system=qmake` --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 399682446..dcf373bf5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -76,7 +76,7 @@ addons: - qt55tools before_install: # only allow specific build for coverity scan, others will stop - - if [ "$TRAVIS_BRANCH" = "$coverity_branch" ] && ! [ "$TRAVIS_OS_NAME" = "linux" -a "$lt_branch" = "RC_1_0" -a "$gui" = true ]; then exit ; fi + - if [ "$TRAVIS_BRANCH" = "$coverity_branch" ] && ! [ "$TRAVIS_OS_NAME" = "linux" -a "$lt_branch" = "RC_1_0" -a "$gui" = true -a "$build_system" = "qmake" ]; then exit ; fi - shopt -s expand_aliases - alias make="colormake -j3" # Using nprocs/2 sometimes may fail (gcc is killed by system)