File tree Expand file tree Collapse file tree 3 files changed +22
-28
lines changed Expand file tree Collapse file tree 3 files changed +22
-28
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ before_install:
2626install : true
2727script : ./travis.sh
2828after_success :
29- - mvn clean cobertura:cobertura coveralls:report
29+ - bash <(curl -s https://codecov.io/bash)
3030branches :
3131 only :
3232 - master
Original file line number Diff line number Diff line change 11# java-docs-samples
22
33[ ![ 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+
56This is a repository that contains java code snippets on [ Cloud Platform Documentation] ( https://cloud.google.com/docs/ ) .
67
Original file line number Diff line number Diff line change @@ -75,32 +75,25 @@ limitations under the License.
7575 <execution ><goals ><goal >check</goal ></goals ></execution >
7676 </executions >
7777 </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 >jacoco-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 >
10497 </plugins >
10598 </build >
10699</project >
You can’t perform that action at this time.
0 commit comments