Skip to content

Commit

Permalink
Try a code coverage plugin that may support Java 8
Browse files Browse the repository at this point in the history
  • Loading branch information
jsharkey13 committed Jun 14, 2019
1 parent 94735a2 commit d12f06f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 11 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ jdk: openjdk8
cache:
directories:
- "$HOME/.m2"
script: "mvn cobertura:cobertura"
after_success:
- bash <(curl -s https://codecov.io/bash)
notifications:
Expand Down
27 changes: 17 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -456,16 +456,23 @@
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.7</version>
<configuration>
<formats>
<format>html</format>
<format>xml</format>
</formats>
<check />
</configuration>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.4</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<resources>
Expand Down

0 comments on commit d12f06f

Please sign in to comment.