Merge pull request #71 from vidstige/codecov

codecov with jacoco
This commit is contained in:
Samuel Carlsson 2017-10-27 16:11:51 +02:00 committed by GitHub
commit 39dc7ee90f
3 changed files with 22 additions and 1 deletions

View File

@ -1,2 +1,3 @@
language: java
after_success:
- bash <(curl -s https://codecov.io/bash)

View File

@ -9,6 +9,7 @@ This projects aims at providing an up to date implementation of the ADB protocol
[![Build Status](https://travis-ci.org/vidstige/jadb.svg?branch=master)](https://travis-ci.org/vidstige/jadb)
[![](https://jitpack.io/v/vidstige/jadb.svg)](https://jitpack.io/#vidstige/jadb)
[![codecov](https://codecov.io/gh/vidstige/jadb/branch/master/graph/badge.svg)](https://codecov.io/gh/vidstige/jadb)
[![](http://img.shields.io/badge/first--timers--only-friendly-green.svg?style=flat&colorB=FF69B4)](http://www.firsttimersonly.com/)

19
pom.xml
View File

@ -113,6 +113,25 @@
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.7.201606060606</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>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>