From 0a5c414f18ba1ce556dd092d0cef9bb8314ea6ad Mon Sep 17 00:00:00 2001 From: Michal Kordas Date: Fri, 5 Jun 2015 18:57:03 +0200 Subject: [PATCH] Make cobertura and coveralls build faster. #1176 `cobertura:check` is used instead of `verify` with exclusions. This ensures that only things needed to perform coverage verification are executed. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d309e029d..83c13728b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,7 +23,7 @@ matrix: env: DESC="checkstyle" MAIN_ARGS="verify -DskipTests -Dpmd.skip=true -Dfindbugs.skip=true -Dcobertura.skip=true" COVERALLS_ARGS="" # cobertura and coveralls (oraclejdk8) - jdk: oraclejdk8 - env: DESC="cobertura and coveralls" MAIN_ARGS="verify -Dpmd.skip=true -Dfindbugs.skip=true -Dcheckstyle.ant.skip=true" COVERALLS_ARGS="mvn clean cobertura:cobertura coveralls:report" + env: DESC="cobertura and coveralls" MAIN_ARGS="cobertura:check" COVERALLS_ARGS="mvn clean cobertura:cobertura coveralls:report" # findbugs and pmd (oraclejdk8) - jdk: oraclejdk8 env: DESC="findbugs and pmd" MAIN_ARGS="compile pmd:check findbugs:check" COVERALLS_ARGS=""