From 36f107da5b9517069f0fdd616cdc4e4785be4a90 Mon Sep 17 00:00:00 2001 From: Samuel Carlsson Date: Sun, 22 Oct 2017 19:30:48 +0200 Subject: [PATCH 1/2] codecov with jacoco --- .travis.yml | 3 ++- pom.xml | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a98b760..6490334 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,2 +1,3 @@ language: java - +after_success: + - bash <(curl -s https://codecov.io/bash) diff --git a/pom.xml b/pom.xml index 30d7a96..d179e5d 100644 --- a/pom.xml +++ b/pom.xml @@ -113,6 +113,25 @@ + + org.jacoco + jacoco-maven-plugin + 0.7.7.201606060606 + + + + prepare-agent + + + + report + test + + report + + + + org.apache.maven.plugins maven-surefire-plugin From 93e5e02192a2b2fccfa9a6ecafee60946105a746 Mon Sep 17 00:00:00 2001 From: Samuel Carlsson Date: Sun, 22 Oct 2017 19:36:34 +0200 Subject: [PATCH 2/2] codecov badge --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index ca0e7ac..7ae20f5 100644 --- a/README.md +++ b/README.md @@ -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/)