From 9f70e30775c4c2c48707543938bbbfb8c89382b0 Mon Sep 17 00:00:00 2001 From: Alberto Rodriguez Date: Wed, 22 Mar 2017 10:32:10 +0100 Subject: [PATCH] Add scoverage plugin and travis after_success script to execute coverage phases --- .travis.yml | 2 +- pom.xml | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2ddc201..7f460fd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ language: java script: "mvn clean compile test" - +after_success: "mvn scoverage:check scoverage:report" jdk: - oraclejdk8 \ No newline at end of file diff --git a/pom.xml b/pom.xml index 90b4914..48b3396 100644 --- a/pom.xml +++ b/pom.xml @@ -381,6 +381,21 @@ + + org.scoverage + scoverage-maven-plugin + 1.1.0 + + ${scala.version} + + + + + check + + + +