only run sonar scan on master
This commit is contained in:
parent
93bb84d94c
commit
8122a6079d
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in New Issue