language: java
jdk:
  - oraclejdk8
script: "mvn cobertura:cobertura"

after_success:
  - bash <(curl -s https://codecov.io/bash)

language: java
jdk:
  - openjdk
script: "mvn cobertura:cobertura"

after_success:
  - bash <(curl -s https://codecov.io/bash)

Replace Oracle JDK with Open JDK
Replace Oracle JDK with Open JDK