language: java
jdk:
  - oraclejdk8

script: "mvn cobertura:cobertura"
after_success:
  - bash <(curl -s https://codecov.io/bash)
language: java
jdk:
  - oraclejdk9

script: "mvn cobertura:cobertura"
after_success:
  - bash <(curl -s https://codecov.io/bash)

Use java 9 in tests
Use java 9 in tests