Skip to content

Commit

Permalink
try to enable coveralls / jacoco coverage reports
Browse files Browse the repository at this point in the history
  • Loading branch information
bodewig committed Mar 3, 2015
1 parent e7ca9eb commit ccc9eb9
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Expand Up @@ -7,3 +7,5 @@ install: true
notifications:
email:
- xmlunit-commits@lists.sourceforge.net
after_success:
- mvn clean test jacoco:report coveralls:report -Pjacoco
31 changes: 31 additions & 0 deletions pom.xml
Expand Up @@ -221,6 +221,11 @@
</groups>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.4.201502262128</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
Expand Down Expand Up @@ -268,4 +273,30 @@
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>jacoco</id>
<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>3.0.1</version>
</plugin>
</build>
</profile>
</profiles>
</project>

0 comments on commit ccc9eb9

Please sign in to comment.