From 5f35461686a18177444e13872eb14a56a0e86b32 Mon Sep 17 00:00:00 2001 From: Bartosz Firyn Date: Mon, 13 Jan 2014 21:46:02 +0100 Subject: [PATCH] Integrate Coveralls with Travis CI --- .travis.yml | 3 +++ pom.xml | 48 +++++++++++++++++++++++++++++++----------------- 2 files changed, 34 insertions(+), 17 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0b0ccaef..3be6c7ec 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,9 @@ before_install: script: - mvn test -X +after_success: + - mvn clean cobertura:cobertura coveralls:cobertura -P ci + branches: except: - gh-pages diff --git a/pom.xml b/pom.xml index 5f84c5d0..d0bdc7d5 100644 --- a/pom.xml +++ b/pom.xml @@ -84,6 +84,18 @@ + + ci + + + + org.eluder.coveralls + coveralls-maven-plugin + 2.1.0 + + + + full @@ -264,7 +276,6 @@ - org.apache.maven.plugins @@ -280,6 +291,25 @@ maven-site-plugin 3.0 + + org.codehaus.mojo + cobertura-maven-plugin + 2.6 + + xml + 256m + true + + 85 + 85 + false + 85 + 85 + 85 + 85 + + + @@ -421,22 +451,6 @@ 700 - - org.codehaus.mojo - cobertura-maven-plugin - 2.5.2 - - - 85 - 85 - false - 85 - 85 - 85 - 85 - - - org.apache.maven.plugins maven-surefire-report-plugin