language: java
script: ./gradlew clean check
dist: precise
jdk:
  - oraclejdk8
  - openjdk8
addons:
  hosts:
    - xgboosthost
  hostname: xgboosthost

language: java
script: ./gradlew clean check
dist: trusty
jdk:
  - oraclejdk8
  - openjdk8
addons:
  hosts:
    - xgboosthost
  hostname: xgboosthost

Upgrade to trusty to get openjdk8.
Upgrade to trusty to get openjdk8.
