language: java

matrix:
  include:
    - jdk: openjdk8
    - jdk: oraclejdk8
    - jdk: openjdk9
    - jdk: openjdk10
    - jdk: openjdk11
    - jdk: oraclejdk11

    - os: osx
      osx_image: xcode9.2
      env: JAVA_HOME=$(/usr/libexec/java_home)

script: ./build.sh -Dexist.autodeploy=off -Dtest.haltonerror=true -Dtest.haltonfailure=true clean clean-all all test

cache:
  directories:
  - $HOME/.ivy2
  - $HOME/.m2

after_failure:
   - tar -cjf junit-data.tar.bz2 test/junit/data
   - curl -v -u $CHUNK_USER:$CHUNK_PW -sT junit-data.tar.bz2 chunk.io

notifications:
  hipchat: ec8fcfa661addc56a361a8ef536320@integrations

language: java

dist: xenial

matrix:
  include:
    - jdk: openjdk8
    - jdk: openjdk9
    - jdk: openjdk10
    - jdk: openjdk11
    - jdk: oraclejdk11

    - os: osx
      osx_image: xcode9.2
      env: JAVA_HOME=$(/usr/libexec/java_home)

script: ./build.sh -Dexist.autodeploy=off -Dtest.haltonerror=true -Dtest.haltonfailure=true clean clean-all all test

cache:
  directories:
  - $HOME/.ivy2
  - $HOME/.m2

after_failure:
   - tar -cjf junit-data.tar.bz2 test/junit/data
   - curl -v -u $CHUNK_USER:$CHUNK_PW -sT junit-data.tar.bz2 chunk.io

notifications:
  hipchat: ec8fcfa661addc56a361a8ef536320@integrations

Move from Ubuntu Trusty to Ubuntu Xenial on Travis-CI
[feature] Move from Ubuntu Trusty to Ubuntu Xenial on Travis-CI
