don't run sonarqube scan on pull requests

This commit is contained in:
arvidn 2017-09-09 20:14:19 +02:00 committed by Arvid Norberg
parent 9f177ad413
commit eac7266dcd
1 changed files with 4 additions and 0 deletions

View File

@ -52,6 +52,10 @@ addons:
before_install:
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
export sonar_scan=0;
fi'
- git submodule update --init --recursive
- 'if [[ $crypto == "" ]]; then export crypto=built-in; fi'
- 'if [[ $TRAVIS_OS_NAME == "osx" && ( "$tests" == "1" || "$sim" == 1 || "$examples" == "1" || "$tools" == "1" || "$python" == "1" ) ]]; then