From 1c50c28122e245b99466c5823c4b95d5d4e2d8a5 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Mon, 16 Mar 2015 20:18:16 -0700 Subject: [PATCH] Move coveralls into script. after_script also runs after the cache is stored, so if we do the coveralls stuff in after_script we have to redownload a bunch of Maven crap every time. Hopefully I can do test and then the coveralls stuff in one Maven command, otherwise I'll have to break things out into two invocations... --- .travis.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index a955e42..1621a92 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,8 +12,5 @@ cache: - '$HOME/.m2/repository' script: - - mvn test -B + - mvn -B test cobertura:cobertura coveralls:cobertura - rm -rf $HOME/.m2/repository/com/samskivert/jmustache - -after_success: - - mvn clean cobertura:cobertura coveralls:cobertura