Skip to content

Commit 1e65f25

Browse files
committed
enable ci
1 parent bc30e45 commit 1e65f25

File tree

3 files changed

+27
-1
lines changed

3 files changed

+27
-1
lines changed

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language: java
2+
sudo: false # faster builds
3+
4+
script: "mvn cobertura:cobertura"
5+
6+
after_success:
7+
- bash <(curl -s https://codecov.io/bash)

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
[![Sourcegraph](https://sourcegraph.com/github.com/json-iterator/java/-/badge.svg)](https://sourcegraph.com/github.com/json-iterator/java?badge)
2+
[![GoDoc](http://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)](http://godoc.org/github.com/json-iterator/java)
3+
[![Build Status](https://travis-ci.org/json-iterator/java.svg?branch=master)](https://travis-ci.org/json-iterator/java)
4+
[![codecov](https://codecov.io/gh/json-iterator/java/branch/master/graph/badge.svg)](https://codecov.io/gh/json-iterator/java)
5+
[![rcard](https://goreportcard.com/badge/github.com/json-iterator/java)](https://goreportcard.com/report/github.com/json-iterator/java)
6+
[![License](http://img.shields.io/badge/license-mit-blue.svg?style=flat-square)](https://raw.githubusercontent.com/json-iterator/java/master/LICENSE)
7+
[![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/json-iterator/Lobby)
8+
19
Documentation : [http://jsoniter.com/java-features.html](http://jsoniter.com/java-features.html)
210

3-
[![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/json-iterator/Lobby)

pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,18 @@
104104
</testResource>
105105
</testResources>
106106
<plugins>
107+
<plugin>
108+
<groupId>org.codehaus.mojo</groupId>
109+
<artifactId>cobertura-maven-plugin</artifactId>
110+
<version>2.7</version>
111+
<configuration>
112+
<formats>
113+
<format>html</format>
114+
<format>xml</format>
115+
</formats>
116+
<check />
117+
</configuration>
118+
</plugin>
107119
<plugin>
108120
<groupId>org.apache.maven.plugins</groupId>
109121
<artifactId>maven-compiler-plugin</artifactId>

0 commit comments

Comments
 (0)