File tree 3 files changed +33
-0
lines changed
3 files changed +33
-0
lines changed Original file line number Diff line number Diff line change @@ -6,3 +6,5 @@ before_install:
6
6
- openssl aes-256-cbc -K $encrypted_99d8b304f94b_key -iv $encrypted_99d8b304f94b_iv -in service-account.json.enc -out service-account.json -d
7
7
8
8
script : mvn test
9
+ after_success :
10
+ - mvn clean cobertura:cobertura coveralls:report
Original file line number Diff line number Diff line change 1
1
# java-docs-samples
2
2
3
+ [ ![ Build Status] ( https://travis-ci.org/GoogleCloudPlatform/java-docs-samples.svg )] ( https://travis-ci.org/GoogleCloudPlatform/java-docs-samples )
4
+ [ ![ Coverage Status] ( https://coveralls.io/repos/GoogleCloudPlatform/java-docs-samples/badge.svg )] ( https://coveralls.io/r/GoogleCloudPlatform/java-docs-samples )
5
+
3
6
This is a repository that contains java code snippets on [ Cloud Platform Documentation] ( https://cloud.google.com/docs/ ) .
7
+
Original file line number Diff line number Diff line change 45
45
</execution >
46
46
</executions >
47
47
</plugin >
48
+ <plugin >
49
+ <groupId >org.eluder.coveralls</groupId >
50
+ <artifactId >coveralls-maven-plugin</artifactId >
51
+ <version >3.1.0</version >
52
+ <configuration >
53
+ <coberturaReports >
54
+ <coberturaReport >${basedir} /target/coverage.xml</coberturaReport >
55
+ </coberturaReports >
56
+ </configuration >
57
+ </plugin >
58
+ <plugin >
59
+ <groupId >org.codehaus.mojo</groupId >
60
+ <artifactId >cobertura-maven-plugin</artifactId >
61
+ <version >2.6</version >
62
+ <configuration >
63
+ <outputDirectory >${basedir} /target</outputDirectory >
64
+ <formats >
65
+ <format >xml</format >
66
+ <format >html</format >
67
+ </formats >
68
+ <format >xml</format >
69
+ <maxmem >256m</maxmem >
70
+ <!-- aggregated reports for multi-module projects -->
71
+ <aggregate >true</aggregate >
72
+ </configuration >
73
+ </plugin >
48
74
</plugins >
75
+
49
76
</build >
50
77
51
78
<dependencyManagement >
You can’t perform that action at this time.
0 commit comments