language: java
jdk:
  - oraclejdk8
after_success:
  - ./gradlew jacocoTestReport
  - bash <(curl -s https://codecov.io/bash)
language: java
jdk:
  - openjdk8
after_success:
  - ./gradlew jacocoTestReport
  - bash <(curl -s https://codecov.io/bash)

Change JDK on Travis: oraclejdk8 -> openjdk8
Change JDK on Travis: oraclejdk8 -> openjdk8

This should fix the build on Travis.
