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:
+1
-4
@@ -12,8 +12,5 @@ cache:
|
|||||||
- '$HOME/.m2/repository'
|
- '$HOME/.m2/repository'
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- mvn test -B
|
- mvn -B test cobertura:cobertura coveralls:cobertura
|
||||||
- rm -rf $HOME/.m2/repository/com/samskivert/jmustache
|
- rm -rf $HOME/.m2/repository/com/samskivert/jmustache
|
||||||
|
|
||||||
after_success:
|
|
||||||
- mvn clean cobertura:cobertura coveralls:cobertura
|
|
||||||
|
|||||||
Reference in New Issue
Block a user