Skip to content

Commit 1be801d

Browse files
committed
added codecov
1 parent bc42c72 commit 1be801d

File tree

2 files changed

+36
-8
lines changed

2 files changed

+36
-8
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ language: java
22
install: "mvn install -DskipTests=true -Dgpg.skip=true -B"
33
jdk:
44
- oraclejdk8
5+
after_success:
6+
- bash <(curl -s https://codecov.io/bash)

pom.xml

Lines changed: 34 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,38 @@
1414
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1515
</properties>
1616

17-
<dependencies>
18-
<dependency>
19-
<groupId>junit</groupId>
20-
<artifactId>junit</artifactId>
21-
<version>3.8.1</version>
22-
<scope>test</scope>
23-
</dependency>
24-
</dependencies>
17+
18+
<dependencies>
19+
<dependency>
20+
<groupId>junit</groupId>
21+
<artifactId>junit</artifactId>
22+
<version>4.10</version>
23+
<scope>test</scope>
24+
</dependency>
25+
</dependencies>
26+
27+
<build>
28+
<sourceDirectory>src/main/java</sourceDirectory>
29+
<plugins>
30+
<plugin>
31+
<groupId>org.jacoco</groupId>
32+
<artifactId>jacoco-maven-plugin</artifactId>
33+
<version>0.5.8.201207111220</version>
34+
<executions>
35+
<execution>
36+
<goals>
37+
<goal>prepare-agent</goal>
38+
</goals>
39+
</execution>
40+
<execution>
41+
<id>report</id>
42+
<phase>test</phase>
43+
<goals>
44+
<goal>report</goal>
45+
</goals>
46+
</execution>
47+
</executions>
48+
</plugin>
49+
</plugins>
50+
</build>
2551
</project>

0 commit comments

Comments
 (0)