File tree 3 files changed +22
-28
lines changed
3 files changed +22
-28
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ before_install:
26
26
install : true
27
27
script : ./travis.sh
28
28
after_success :
29
- - mvn clean cobertura:cobertura coveralls:report
29
+ - bash <(curl -s https://codecov.io/bash)
30
30
branches :
31
31
only :
32
32
- master
Original file line number Diff line number Diff line change 1
1
# java-docs-samples
2
2
3
3
[ ![ Build Status] ( https://travis-ci.org/GoogleCloudPlatform/java-docs-samples.svg?branch=master )] ( https://travis-ci.org/GoogleCloudPlatform/java-docs-samples )
4
- [ ![ Coverage Status] ( https://coveralls.io/repos/GoogleCloudPlatform/java-docs-samples/badge.svg?branch=master )] ( https://coveralls.io/r/GoogleCloudPlatform/java-docs-samples?branch=master )
4
+ [ ![ Coverage Status] ( https://codecov.io/gh/GoogleCloudPlatform/java-docs-samples/branch/master/graph/badge.svg )] ( https://codecov.io/gh/GoogleCloudPlatform/java-docs-samples )
5
+
5
6
This is a repository that contains java code snippets on [ Cloud Platform Documentation] ( https://cloud.google.com/docs/ ) .
6
7
Original file line number Diff line number Diff line change @@ -75,32 +75,25 @@ limitations under the License.
75
75
<execution ><goals ><goal >check</goal ></goals ></execution >
76
76
</executions >
77
77
</plugin >
78
- <plugin >
79
- <groupId >org.eluder.coveralls</groupId >
80
- <artifactId >coveralls-maven-plugin</artifactId >
81
- <version >4.1.0</version >
82
- <configuration >
83
- <coberturaReports >
84
- <coberturaReport >${basedir} /target/coverage.xml</coberturaReport >
85
- </coberturaReports >
86
- </configuration >
87
- </plugin >
88
- <plugin >
89
- <groupId >org.codehaus.mojo</groupId >
90
- <artifactId >cobertura-maven-plugin</artifactId >
91
- <version >2.6</version >
92
- <configuration >
93
- <outputDirectory >${basedir} /target</outputDirectory >
94
- <formats >
95
- <format >xml</format >
96
- <format >html</format >
97
- </formats >
98
- <format >xml</format >
99
- <maxmem >256m</maxmem >
100
- <!-- aggregated reports for multi-module projects -->
101
- <aggregate >true</aggregate >
102
- </configuration >
103
- </plugin >
78
+ <plugin >
79
+ <groupId >org.jacoco</groupId >
80
+ <artifactId >jacoco-maven-plugin</artifactId >
81
+ <version >0.7.6.201602180812</version >
82
+ <executions >
83
+ <execution >
84
+ <goals >
85
+ <goal >prepare-agent</goal >
86
+ </goals >
87
+ </execution >
88
+ <execution >
89
+ <id >report</id >
90
+ <phase >test</phase >
91
+ <goals >
92
+ <goal >report</goal >
93
+ </goals >
94
+ </execution >
95
+ </executions >
96
+ </plugin >
104
97
</plugins >
105
98
</build >
106
99
</project >
You can’t perform that action at this time.
0 commit comments