Skip to content

Commit

Permalink
Testing sonar.coverage.jacoco.xmlReportPaths #65
Browse files Browse the repository at this point in the history
  • Loading branch information
tillias committed Oct 25, 2020
1 parent 0ea59fe commit d28793e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ script:
- export BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo $TRAVIS_PULL_REQUEST_BRANCH; fi)
- echo "TRAVIS_BRANCH=$TRAVIS_BRANCH, PR=$TRAVIS_PULL_REQUEST, BRANCH=$BRANCH"
- chmod +x mvnw
./mvnw -ntp clean verify com.github.eirslett:frontend-maven-plugin:npm -Dfrontend.npm.arguments='run test' -Dmaven.repo.local=$MAVEN_USER_HOME org.jacoco:jacoco-maven-plugin:prepare-agent package org.jacoco:jacoco-maven-plugin:report sonar:sonar -Dsonar.projectKey=microcatalog &&
- ./mvnw -ntp clean verify &&
./mvnw -ntp com.github.eirslett:frontend-maven-plugin:npm -Dfrontend.npm.arguments='run test' -Dmaven.repo.local=$MAVEN_USER_HOME &&
./mvnw -ntp org.jacoco:jacoco-maven-plugin:prepare-agent org.jacoco:jacoco-maven-plugin:report sonar:sonar -Dsonar.projectKey=microcatalog &&
./mvnw -ntp verify -Pprod -DskipTests &&
if [ "$BRANCH" = "master" ]; then
docker build -t tillias/microcatalog . &&
Expand Down

0 comments on commit d28793e

Please sign in to comment.