Skip to content

Commit 0d1b920

Browse files
committed
updates
1 parent 03b504a commit 0d1b920

File tree

2 files changed

+33
-5
lines changed

2 files changed

+33
-5
lines changed

README.md

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,43 @@ Java -> Codecov.io
88
99
## Usage
1010

11+
12+
#### Add JaCoCo plugin
13+
```xml
14+
<plugin>
15+
<groupId>org.jacoco</groupId>
16+
<artifactId>jacoco-maven-plugin</artifactId>
17+
<version>0.5.8.201207111220</version>
18+
<executions>
19+
<execution>
20+
<goals>
21+
<goal>prepare-agent</goal>
22+
</goals>
23+
</execution>
24+
<execution>
25+
<id>report</id>
26+
<phase>test</phase>
27+
<goals>
28+
<goal>report</goal>
29+
</goals>
30+
</execution>
31+
</executions>
32+
</plugin>
33+
```
34+
35+
1136
# [![travis-org](https://avatars2.githubusercontent.com/u/639823?v=2&s=50)](https://travis-ci.org) Travis C
1237

1338
Add to your `.travis.yml` file.
1439
```yml
15-
language: java
40+
language:
41+
java
1642

17-
before_install: sudo pip install codecov
43+
before_install:
44+
sudo pip install codecov
1845

19-
after_success: codecov
46+
after_success:
47+
codecov
2048
```
2149
2250

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
</execution>
4747
<execution>
4848
<id>report</id>
49-
<phase>prepare-package</phase>
49+
<phase>test</phase>
5050
<goals>
5151
<goal>report</goal>
5252
</goals>
@@ -56,4 +56,4 @@
5656
</plugins>
5757
</build>
5858

59-
</project>
59+
</project>

0 commit comments

Comments
 (0)