language: java
sudo: false
script: mvn clean verify -Dtravis-ci=true

jdk:
  - openjdk8

before_install:
  - export MAVEN_OPTS="-Xmx2g $MAVEN_OPTS"
  - echo "MAVEN_OPTS='-Xmx2g'" > ~/.mavenrc

env:
  global:
    - JAVA_OPTS="-Xmx2g"

language: java
sudo: false
script: mvn clean verify -Dtravis-ci=true

jdk:
  - oraclejdk8

before_install:
  - export MAVEN_OPTS="-Xmx2g $MAVEN_OPTS"
  - echo "MAVEN_OPTS='-Xmx2g'" > ~/.mavenrc

env:
  global:
    - JAVA_OPTS="-Xmx2g"

Revert back to oraclejdk8 (openjdk8 isn't supported on Travis).
Revert back to oraclejdk8 (openjdk8 isn't supported on Travis).
