We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 842b25d commit 81caea2Copy full SHA for 81caea2
.travis.yml
@@ -13,5 +13,6 @@ install:
13
14
script:
15
- vendor/bin/phpunit --coverage-clover phpunit.coverage.xml --log-junit phpunit.report.xml
16
- - sonar-scanner-$SONARSCANNER_VERSION-linux/bin/sonar-scanner -Dsonar.login=$SONAR_LOGIN -Dsonar.branch.name=$TRAVIS_BRANCH -Dsonar.branch.target=master
+ - if [ "$TRAVIS_BRANCH" != "master" ]; then export SONARSCANNER_PARAM="-Dsonar.branch.name=$TRAVIS_BRANCH -Dsonar.branch.target=master"; fi
17
+ - sonar-scanner-$SONARSCANNER_VERSION-linux/bin/sonar-scanner -Dsonar.login=$SONAR_LOGIN $SONARSCANNER_PARAM
18
0 commit comments