language: java
jdk:
  - oraclejdk8
matrix:
  include:
    - os: linux
    - os: osx
      osx_image: xcode9.3

language: java

matrix:
  include:
    - os: linux
      dist: trusty
      jdk:
        - openjdk8
    - os: osx
      osx_image: xcode9.3
      jdk:
        - oraclejdk8

Use OpenJDK and trusty Linux.
Use OpenJDK and trusty Linux.
