File tree Expand file tree Collapse file tree 2 files changed +33
-5
lines changed Expand file tree Collapse file tree 2 files changed +33
-5
lines changed Original file line number Diff line number Diff line change @@ -8,15 +8,43 @@ Java -> Codecov.io
8
8
9
9
## Usage
10
10
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
+
11
36
# [ ![ travis-org] ( https://avatars2.githubusercontent.com/u/639823?v=2&s=50 )] ( https://travis-ci.org ) Travis C
12
37
13
38
Add to your ` .travis.yml ` file.
14
39
``` yml
15
- language : java
40
+ language :
41
+ java
16
42
17
- before_install : sudo pip install codecov
43
+ before_install :
44
+ sudo pip install codecov
18
45
19
- after_success : codecov
46
+ after_success :
47
+ codecov
20
48
` ` `
21
49
22
50
Original file line number Diff line number Diff line change 46
46
</execution >
47
47
<execution >
48
48
<id >report</id >
49
- <phase >prepare-package </phase >
49
+ <phase >test </phase >
50
50
<goals >
51
51
<goal >report</goal >
52
52
</goals >
56
56
</plugins >
57
57
</build >
58
58
59
- </project >
59
+ </project >
You can’t perform that action at this time.
0 commit comments