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...
This commit is contained in:
Michael Bayne
2015-03-16 20:18:16 -07:00
parent 641bec22f3
commit 1c50c28122
+1 -4
View File
@@ -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