File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,14 +6,14 @@ IS_COVERITY_SCAN_BRANCH=`ruby -e "puts '${TRAVIS_BRANCH}' =~ /\\A$COVERITY_SCAN_
66
77
88if [ " ${FAST_BUILD} " == " true" ]; then
9- if [ " $COVERITY " == " true" ] && [ " $IS_COVERITY_SCAN_BRANCH " = " 1" ]; then
9+ if [ " $TRAVIS_PULL_REQUEST " == " false " ] && [ " $ COVERITY" == " true" ] && [ " $IS_COVERITY_SCAN_BRANCH " = " 1" ]; then
1010 export COVERITY_SCAN_BUILD_COMMAND=" mvn package"
1111 curl -s " https://scan.coverity.com/scripts/travisci_build_coverity_scan.sh" | bash
1212 else
1313 mvn package
1414 fi
1515else
16- if [ " $COVERITY " == " true" ] && [ " $IS_COVERITY_SCAN_BRANCH " = " 1" ]; then
16+ if [ " $TRAVIS_PULL_REQUEST " == " false " ] && [ " $ COVERITY" == " true" ] && [ " $IS_COVERITY_SCAN_BRANCH " = " 1" ]; then
1717 COVERITY_SCAN_BUILD_COMMAND=" mvn verify"
1818 curl -s " https://scan.coverity.com/scripts/travisci_build_coverity_scan.sh" | bash
1919 else
You can’t perform that action at this time.
0 commit comments