Only call SonarQube once per Travis CI build

This commit is contained in:
str4d
2017-12-07 14:55:44 +00:00
parent ff911e37c4
commit 71dbc0abe6

View File

@ -29,7 +29,12 @@ cache:
- .gradle
script:
- ./gradlew sonarqube
- |
if [ "$TRAVIS_JDK_VERSION" == "oraclejdk9" ]; then
./gradlew sonarqube
else
./gradlew check
fi
- ./gradlew codeCoverageReport
after_success: