# Use docker-based build environment (instead of openvz)
sudo: false

# Select JDKs >= Java 6 for testing
language: java
jdk:
  - openjdk6
  - openjdk7
  - oraclejdk7
  - oraclejdk8

# Enable the Travis CI cache for the maven folder (dependencies and plugins)
cache:
  directories:
    - $HOME/.m2

# Test execution
install: true
script: "mvn -e clean compile test"

# Use docker-based build environment (instead of openvz)
sudo: false

# Select JDKs >= Java 6 for testing
language: java
jdk:
  - openjdk6
  - openjdk7
  - oraclejdk7
  - oraclejdk8

# Test execution
install: true
script: "mvn -e clean compile test"

Revert "Revert "Disabled TravisCI cache for the maven repositories (doesn't work well with snapshots)""
Revert "Revert "Disabled TravisCI cache for the maven repositories (doesn't work well with snapshots)""

This reverts commit be680094b9552c2749f3af8e210e27e97c701cd4.
