Commit 856d1b0a authored by Kazuki Shimizu's avatar Kazuki Shimizu

Change goal to verify on travis ci

parent 3377da51
......@@ -25,9 +25,9 @@ install: true
script:
- |
if [ "$TRAVIS_BRANCH" != "master" -o "$TRAVIS_PULL_REQUEST" == "true" ]; then
./mvnw -U package jacoco:report coveralls:report
./mvnw -U verify jacoco:report coveralls:report
fi
- |
if [ "$TRAVIS_PULL_REQUEST" == "false" -a "$TRAVIS_BRANCH" == "master" ]; then
./mvnw -U package jacoco:report coveralls:report sonar:sonar -Dsonar.host.url=https://sonarqube.com -Dsonar.login=${SONAR_TOKEN}
./mvnw -U verify jacoco:report coveralls:report sonar:sonar -Dsonar.host.url=https://sonarqube.com -Dsonar.login=${SONAR_TOKEN}
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment