Added Codecov.io coverage reporting

This commit is contained in:
stevepeak 2014-10-02 16:22:39 +00:00
parent 1992bd069e
commit e061224d80
3 changed files with 22 additions and 0 deletions

View file

@ -1,4 +1,5 @@
language: java
before_install: sudo pip install codecov
jdk:
- oraclejdk7
- openjdk7
@ -8,3 +9,4 @@ cache:
- $HOME/.m2
git:
depth: 1
after_success: codecov

View file

@ -78,6 +78,7 @@ on StackOverflow](http://stackoverflow.com/questions/tagged/zxing).
[![Build Status](https://travis-ci.org/zxing/zxing.png?branch=master)](https://travis-ci.org/zxing/zxing)
[![Coverity Status](https://scan.coverity.com/projects/1924/badge.svg)](https://scan.coverity.com/projects/1924)
[![codecov.io](https://codecov.io/github/zxing/zxing/coverage.svg?branch=master)](https://codecov.io/github/zxing/zxing?branch=master)
QR code is trademarked by Denso Wave, inc. Thanks to Haase & Martin OHG for contributing the logo.

19
pom.xml
View file

@ -141,6 +141,25 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>clirr-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.5.8.201207111220</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>