Report coverage reports to coveralls

This commit is contained in:
Paul Campbell 2016-06-02 21:32:45 +01:00
parent e6a7179b52
commit 80fbbb1c60
2 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,5 @@
language: java language: java
jdk: jdk:
- oraclejdk8 - oraclejdk8
after_success:
- mvn clean cobertura:cobertura coveralls:report

10
pom.xml
View file

@ -38,6 +38,7 @@
<mockito-core.version>1.10.19</mockito-core.version> <mockito-core.version>1.10.19</mockito-core.version>
<simple-java-mail.version>3.0.1</simple-java-mail.version> <simple-java-mail.version>3.0.1</simple-java-mail.version>
<spring-framework.version>4.2.6.RELEASE</spring-framework.version> <spring-framework.version>4.2.6.RELEASE</spring-framework.version>
<coveralls-maven-plugin.version>4.2.0</coveralls-maven-plugin.version>
</properties> </properties>
<dependencies> <dependencies>
@ -77,4 +78,13 @@
</dependency> </dependency>
</dependencies> </dependencies>
<build>
<plugins>
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>${coveralls-maven-plugin.version}</version>
</plugin>
</plugins>
</build>
</project> </project>