language: java
jdk:
- openjdk7
- oraclejdk8
cache:
directories:
- $HOME/.m2
# use container
sudo: false