Skip to content

Commit

Permalink
👷 : generate XML report for jacoco
Browse files Browse the repository at this point in the history
also pinning the jacoco version, as 0.8.4 gives us kotlin support
  • Loading branch information
juwit committed Sep 24, 2019
1 parent 36c0408 commit e18cdeb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
# fetching master refs when building other branches helps sonar computing PRs
- git fetch origin +refs/heads/master:refs/remotes/origin/master
# the following command line builds the project, runs the tests with coverage and then execute the SonarCloud analysis
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent verify sonar:sonar
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent verify org.jacoco:jacoco-maven-plugin:report sonar:sonar
- stage: deploy
name: "Deploy to hub.docker.com"
script:
Expand Down
9 changes: 9 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,15 @@
</dependencies>

<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.4</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<!-- kotlin compilation -->
<plugin>
Expand Down

0 comments on commit e18cdeb

Please sign in to comment.