Skip to content

Commit bae5620

Browse files
committed
Switch to codecov.io for coverage measurements.
1 parent 1d046f9 commit bae5620

File tree

4 files changed

+42
-22
lines changed

4 files changed

+42
-22
lines changed

.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
# limitations under the License.
1414
language: java
1515
jdk:
16-
- oraclejdk7
17-
- oraclejdk8
16+
- oraclejdk7
17+
- oraclejdk8
1818
script: mvn verify
1919
after_success:
20-
- mvn clean cobertura:cobertura coveralls:report
20+
- bash <(curl -s https://codecov.io/bash)
2121
branches:
2222
only:
2323
- master

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
[![Build
44
Status](https://travis-ci.org/GoogleCloudPlatform/java-repo-tools.svg?branch=master)](https://travis-ci.org/GoogleCloudPlatform/java-repo-tools)
5+
[![Coverage
6+
Status](https://codecov.io/gh/GoogleCloudPlatform/java-repo-tools/branch/master/graph/badge.svg)](https://codecov.io/gh/GoogleCloudPlatform/java-repo-tools)
57

68
This is a collection of common tools used to maintain and test Java repositories
79
in the [GoogleCloudPlaftorm](https://github.com/GoogleCloudPlatform)

codecov.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Copyright 2016 Google Inc. All Rights Reserved.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
codecov:
15+
branch: master
16+
comment:
17+
branches:
18+
- master

pom.xml

+19-19
Original file line numberDiff line numberDiff line change
@@ -75,25 +75,25 @@ limitations under the License.
7575
<execution><goals><goal>check</goal></goals></execution>
7676
</executions>
7777
</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>
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>
9797
</plugins>
9898
</build>
9999
</project>

0 commit comments

Comments
 (0)