1c50c28122
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...
17 lines
249 B
YAML
17 lines
249 B
YAML
sudo: false
|
|
|
|
language: java
|
|
|
|
jdk:
|
|
- oraclejdk7
|
|
- openjdk7
|
|
- openjdk6
|
|
|
|
cache:
|
|
directories:
|
|
- '$HOME/.m2/repository'
|
|
|
|
script:
|
|
- mvn -B test cobertura:cobertura coveralls:cobertura
|
|
- rm -rf $HOME/.m2/repository/com/samskivert/jmustache
|