sudo: false
cache:
  directories:
    - '$HOME/.m2/repository'
services:
  - mongodb
jdk:
  - oraclejdk8

script: ./travis.sh

branches:
  only:
    - master

sudo: false
cache:
  directories:
    - '$HOME/.m2/repository'
services:
  - mongodb
jdk:
  - oraclejdk7

script: ./travis.sh

branches:
  only:
    - master

Drop build to Java 7 for now.
Drop build to Java 7 for now.
