Skip to content

Commit 8eb92c9

Browse files
committed
Added jacoco for coveralls.io
1 parent 64a015d commit 8eb92c9

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@ install: mvn install -DskipTests=true -Dgpg.skip=true
22
jdk:
33
- oraclejdk8
44
language: java
5+
after_success:
6+
- mvn clean test jacoco:report coveralls:report
7+

pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,19 @@
9696
<artifactId>coveralls-maven-plugin</artifactId>
9797
<version>4.1.0</version>
9898
</plugin>
99+
<plugin>
100+
<groupId>org.jacoco</groupId>
101+
<artifactId>jacoco-maven-plugin</artifactId>
102+
<version>0.7.5.201505241946</version>
103+
<executions>
104+
<execution>
105+
<id>prepare-agent</id>
106+
<goals>
107+
<goal>prepare-agent</goal>
108+
</goals>
109+
</execution>
110+
</executions>
111+
</plugin>
99112
<plugin>
100113
<groupId>org.apache.maven.plugins</groupId>
101114
<artifactId>maven-gpg-plugin</artifactId>

0 commit comments

Comments
 (0)