From 1398d6dfccdafbc0c17e497b1fc5f50f41a83144 Mon Sep 17 00:00:00 2001 From: Kanstantsin Shautsou Date: Sun, 21 Feb 2016 03:26:11 +0300 Subject: [PATCH] Add jacoco and codecov.io --- .travis.yml | 3 +++ pom.xml | 26 +++++++++++++++++++------- 2 files changed, 22 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 985c35690..8f8ad52d3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,9 @@ language: java jdk: - oraclejdk7 +before_install: + - pip install --user codecov after_success: + - codecov - echo "ossrh\${env.OSSRH_USER}\${env.OSSRH_PASS}" > ~/settings.xml - mvn deploy -DskipITs --settings ~/settings.xml diff --git a/pom.xml b/pom.xml index a945e41e7..d4a5b6947 100644 --- a/pom.xml +++ b/pom.xml @@ -74,7 +74,6 @@ 2.3.1 2.17 2.17 - 2.5.1 1.7 @@ -279,12 +278,6 @@ - - org.codehaus.mojo - cobertura-maven-plugin - ${cobertura-maven-plugin.version} - - org.apache.maven.plugins maven-antrun-plugin @@ -480,6 +473,25 @@ + + org.jacoco + jacoco-maven-plugin + 0.7.6.201602180812 + + + + prepare-agent + + + + report + test + + report + + + +