Skip to content

Commit 4692697

Browse files
committed
Enabling coverage testing.
1 parent fea4fa9 commit 4692697

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jdk:
77

88
install: true
99

10-
script: mvn test
10+
script: mvn clean test jacoco:report
1111

1212
after_success:
1313
- mvn coveralls:report

pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,19 @@
123123
</execution>
124124
</executions>
125125
</plugin>
126+
<plugin>
127+
<groupId>org.jacoco</groupId>
128+
<artifactId>jacoco-maven-plugin</artifactId>
129+
<version>0.7.2.201409121644</version>
130+
<executions>
131+
<execution>
132+
<id>prepare-agent</id>
133+
<goals>
134+
<goal>prepare-agent</goal>
135+
</goals>
136+
</execution>
137+
</executions>
138+
</plugin>
126139
<plugin>
127140
<groupId>org.eluder.coveralls</groupId>
128141
<artifactId>coveralls-maven-plugin</artifactId>

0 commit comments

Comments
 (0)