Added code coverage via JaCoCo and Coveralls

This commit is contained in:
moandji.ezana 2014-04-09 20:41:17 +02:00
parent 6329f9cd62
commit 14a0aa68ac
2 changed files with 20 additions and 0 deletions

View file

@ -4,3 +4,5 @@ jdk:
- oraclejdk7
- openjdk7
- openjdk6
after_success:
- mvn clean test jacoco:report coveralls:jacoco

18
pom.xml
View file

@ -65,6 +65,24 @@
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.0.201403182114</version>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>2.2.0</version>
</plugin>
</plugins>
</build>
<licenses>