From 98af8a174c1228574532e9c3ba96f746ad5c383c Mon Sep 17 00:00:00 2001 From: Nic Munroe Date: Fri, 23 Sep 2016 15:17:56 -0700 Subject: [PATCH] Add codecov.io integration to Travis CI build, and add code coverage badge to readme --- .travis.yml | 2 ++ README.md | 1 + 2 files changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 96a28656..49a77b35 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,3 +2,5 @@ language: java jdk: - oraclejdk7 +after_success: + - bash <(curl -s https://codecov.io/bash) -f build/reports/jacoco/jacocoRootReport/jacocoRootReport.xml diff --git a/README.md b/README.md index a0ddf3fc..ef634d11 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ [ ![Download](https://api.bintray.com/packages/nike/maven/wingtips/images/download.svg) ](https://bintray.com/nike/maven/wingtips/_latestVersion) [![][travis img]][travis] +[![Code Coverage](https://img.shields.io/codecov/c/github/Nike-Inc/wingtips/master.svg)](https://codecov.io/github/Nike-Inc/wingtips?branch=master) [![][license img]][license] Wingtips is a distributed tracing solution for Java 7 and greater based on the [Google Dapper paper](http://static.googleusercontent.com/media/research.google.com/en/us/pubs/archive/36356.pdf).