File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
1338Add 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
Original file line number Diff line number Diff line change 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 >
5656 </plugins >
5757 </build >
5858
59- </project >
59+ </project >
You can’t perform that action at this time.
0 commit comments