[ci] enable all java9 modules for sonar and coveralls

This commit is contained in:
Andreas Dangel
2017-10-01 14:08:07 +02:00
parent e991f2c4f3
commit 6fc758c21a
2 changed files with 10 additions and 0 deletions

View File

@ -11,5 +11,10 @@ if ! travis_isPush; then
exit 0
fi
#
# for java9: enable all modules.
# coveralls plugin seems to need java.xml.bind module
#
echo "MAVEN_OPTS='-Xms1g -Xmx1g --add-modules java.se.ee'" > $HOME/.mavenrc
./mvnw clean test jacoco:report coveralls:report -Pcoveralls -B -V

View File

@ -11,6 +11,11 @@ if ! travis_isPush; then
exit 0
fi
#
# for java9: enable all modules.
# sonar plugin seems to need java.xml.bind module
#
echo "MAVEN_OPTS='-Xms1g -Xmx1g --add-modules java.se.ee'" > $HOME/.mavenrc
# Run the build, truncate output due to Travis log limits
./mvnw clean org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar -Dsonar.host.url=https://sonarqube.com -Dsonar.login=${SONAR_TOKEN} -B -V