language: java
jdk:
  - oraclejdk7
  - openjdk7

after_success:
  - mvn clean cobertura:cobertura coveralls:cobertura
language: java
jdk:
  - oraclejdk7
  - openjdk7

after_success:
  - mvn clean cobertura:cobertura coveralls:cobertura

sudo: false

cache:
  directories:
    - $HOME/.m2

Use TravisCI cache for maven
Use TravisCI cache for maven

See http://docs.travis-ci.com/user/caching/

Not entirely sure the path should be `$HOME/.m2` rather than `$HOME/.m2/repository`. The last comment [here](https://github.com/travis-ci/travis-ci/issues/1441) suggests the former works.