Added check for pull request.
This commit is contained in:
parent
ed81885af6
commit
2088a07ab5
1 changed files with 1 additions and 1 deletions
|
@ -9,6 +9,6 @@ before_install:
|
|||
|
||||
after_success:
|
||||
- |
|
||||
if [ "$TRAVIS_TEST_RESULT" == 0 ] && [ "$TRAVIS_JDK_VERSION" == oraclejdk8 ]; then
|
||||
if [ "${TRAVIS_PULL_REQUEST}" != "false" ] && [ "$TRAVIS_JDK_VERSION" == oraclejdk8 ]; then
|
||||
./gradlew sonarqube -Dsonar.login=${SONAR_TOKEN} -Dsonar.organization=${SONAR_GITHUB}
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue