Skip to content

Commit 2344817

Browse files
committed
updates
1 parent 9bded96 commit 2344817

File tree

2 files changed

+32
-4
lines changed

2 files changed

+32
-4
lines changed

README.md

+31-3
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,43 @@ xtend -> 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

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
</execution>
6868
<execution>
6969
<id>report</id>
70-
<phase>prepare-package</phase>
70+
<phase>test</phase>
7171
<goals>
7272
<goal>report</goal>
7373
</goals>

0 commit comments

Comments
 (0)