only run sonar scan on master

This commit is contained in:
arvidn 2017-09-13 08:55:26 +02:00
parent 93bb84d94c
commit 8122a6079d
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ addons:
before_install:
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
- 'if [[ "$TRAVIS_PULL_REQUEST" != "false" || "$TRAVIS_BRANCH" != "master" ]]; then
export sonar_scan=0;
fi'