Skip to content

Commit

Permalink
Add Coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
athieriot committed Nov 27, 2013
1 parent 6b499a4 commit c2e3147
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@ language: java
jdk:
- openjdk7
- oraclejdk7

after_success:
- mvn clean cobertura:cobertura coveralls:cobertura
18 changes: 18 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
<exec.maven.version>1.2.1</exec.maven.version>
<maven.assembly.version>2.3</maven.assembly.version>
<maven.surefire.version>2.12</maven.surefire.version>
<coveralls-maven-plugin.version>2.0.1</coveralls-maven-plugin.version>
<cobertura-maven-plugin.version>2.6</cobertura-maven-plugin.version>
</properties>

<build>
Expand Down Expand Up @@ -121,6 +123,22 @@
<argLine>-XX:-UseSplitVerifier</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>${cobertura-maven-plugin.version}</version>
<configuration>
<format>xml</format>
<maxmem>256m</maxmem>
<!-- aggregated reports for multi-module projects -->
<aggregate>true</aggregate>
</configuration>
</plugin>
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>${coveralls-maven-plugin.version}</version>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit c2e3147

Please sign in to comment.