language: java
jdk:
  - oraclejdk8
install: 
  - sh -c 'cd jOOR && mvn install -DskipTests=true'
  - sh -c 'cd jOOR-java-6 && mvn install -DskipTests=true'
script: 
  - sh -c 'cd jOOR && mvn test'
  - sh -c 'cd jOOR-java-6 && mvn test'

language: java
jdk:
  - oraclejdk8
  - oraclejdk9
install: 
  - sh -c 'cd jOOR && mvn install -DskipTests=true'
  - sh -c 'cd jOOR-java-6 && mvn install -DskipTests=true'
script: 
  - sh -c 'cd jOOR && mvn test'
  - sh -c 'cd jOOR-java-6 && mvn test'

Build jOOR also with JDK 9
Build jOOR also with JDK 9