From d5919ba55d124c670d53832bc6dda9ab4b298be4 Mon Sep 17 00:00:00 2001 From: Andrew Krug Date: Sun, 27 Nov 2016 16:30:23 -0500 Subject: [PATCH 1/2] coveralls report to travis ci and added in codecov badge to README --- .travis.yml | 1 + README.md | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index c65ab9c..63011a0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,3 +6,4 @@ before_install: - brew cask install firefox after_success: - bash <(curl -s https://codecov.io/bash) + - mvn clean test coveralls:report diff --git a/README.md b/README.md index dae8a2f..3f32307 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,9 @@ [![Coverage Status](https://coveralls.io/repos/github/lazycoderio/sample-java-jenkins/badge.svg?branch=master)](https://coveralls.io/github/lazycoderio/sample-java-jenkins?branch=master) +[![codecov](https://codecov.io/gh/lazycoderio/sample-java-jenkins/branch/master/graph/badge.svg)](https://codecov.io/gh/lazycoderio/sample-java-jenkins) + + This project is using the latest Selenium Bindings. ## Setup From c9ad9b5dced6429e10c612d84499ff461958c6d2 Mon Sep 17 00:00:00 2001 From: Andrew Krug Date: Sun, 27 Nov 2016 16:37:21 -0500 Subject: [PATCH 2/2] update to use cobertura --- .travis.yml | 2 +- pom.xml | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 63011a0..e152000 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,4 +6,4 @@ before_install: - brew cask install firefox after_success: - bash <(curl -s https://codecov.io/bash) - - mvn clean test coveralls:report + - mvn clean cobertura:cobertura coveralls:report diff --git a/pom.xml b/pom.xml index c6817b3..d3d888b 100644 --- a/pom.xml +++ b/pom.xml @@ -36,6 +36,18 @@ coveralls-maven-plugin 4.3.0 + + org.codehaus.mojo + cobertura-maven-plugin + 2.7 + + + html + xml + + + +