From 78c7321e853722d9e4f229d2a9c358319f7e3282 Mon Sep 17 00:00:00 2001 From: =?utf8?q?M=C3=A1rio=20Franco?= Date: Mon, 20 Jul 2015 16:58:46 +0100 Subject: [PATCH] Prepare unit test coverage on Travis and Coveralls --- .travis.yml | 5 +++++ pf4j/pom.xml | 2 +- pom.xml | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 38 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index af0e470..5942ba6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,8 @@ language: java jdk: - oraclejdk7 + - oraclejdk8 + - openjdk7 + +after_success: + - mvn clean cobertura:cobertura coveralls:report \ No newline at end of file diff --git a/pf4j/pom.xml b/pf4j/pom.xml index 4f05a19..3c10d84 100644 --- a/pf4j/pom.xml +++ b/pf4j/pom.xml @@ -40,7 +40,7 @@ junit junit - 4.8.1 + ${junit.version} test diff --git a/pom.xml b/pom.xml index 2ebede7..a0bd22e 100644 --- a/pom.xml +++ b/pom.xml @@ -33,6 +33,10 @@ UTF-8 1.7 + + 4.12 + 2.7 + 3.1.0 @@ -120,6 +124,34 @@ -Xdoclint:none + + travis + + + env.TRAVIS + true + + + + + + org.codehaus.mojo + cobertura-maven-plugin + ${cobertura.version} + + + xml + + + + + org.eluder.coveralls + coveralls-maven-plugin + ${coveralls.version} + + + + release-sign-artifacts -- 2.39.5