Skip to content

Commit f5aaa94

Browse files
committed
Add codecov
1 parent 84db975 commit f5aaa94

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ China Mobile Number SDK for Java
33

44
[![Build Status](https://travis-ci.org/xu42/china-mobile-number-java-sdk.png?branch=master)](https://travis-ci.org/xu42/china-mobile-number-java-sdk)
55
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.xu42/china-mobile-number/badge.svg?style=flat)](https://maven-badges.herokuapp.com/maven-central/com.github.xu42/china-mobile-number)
6-
[![Code Coverage](https://codecov.io/github/xu42/china-mobile-number-java-sdk/coverage.svg)](https://codecov.io/gh/xu42/china-mobile-number-java-sdk)
6+
[![Code Coverage](https://codecov.io/github/xu42/china-mobile-number-java-sdk/branch/master/graph/badge.svg)](https://codecov.io/gh/xu42/china-mobile-number-java-sdk)
77

88
Getting Started
99
---------------

pom.xml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,25 @@
111111
<autoReleaseAfterClose>false</autoReleaseAfterClose>
112112
</configuration>
113113
</plugin>
114+
<plugin>
115+
<groupId>org.jacoco</groupId>
116+
<artifactId>jacoco-maven-plugin</artifactId>
117+
<version>0.8.5</version>
118+
<executions>
119+
<execution>
120+
<goals>
121+
<goal>prepare-agent</goal>
122+
</goals>
123+
</execution>
124+
<execution>
125+
<id>report</id>
126+
<phase>test</phase>
127+
<goals>
128+
<goal>report</goal>
129+
</goals>
130+
</execution>
131+
</executions>
132+
</plugin>
114133
</plugins>
115134
</build>
116135

0 commit comments

Comments
 (0)