sudo: false
language: java
jdk:
- oraclejdk8
branches:
  except:
    - /.*wip.*/i
script: "mvn -T4 clean package"
after_success:
- mvn clean test jacoco:report coveralls:report
- "[ ${TRAVIS_PULL_REQUEST} = 'false' ] && [ ${TRAVIS_BRANCH} = 'master' ] && mvn clean deploy -DskipTests --settings ./deploy-settings.xml"

sudo: false
language: java
jdk:
  - openjdk8
branches:
  except:
    - /.*wip.*/i
script: "mvn -T4 verify"
after_success:
- mvn test jacoco:report coveralls:report
- "[ ${TRAVIS_PULL_REQUEST} = 'false' ] && [ ${TRAVIS_BRANCH} = 'master' ] && mvn clean deploy -DskipTests --settings ./deploy-settings.xml"

Use openjdk8 instead of oraclejdk8 to build with Travis CI
Use openjdk8 instead of oraclejdk8 to build with Travis CI

https://travis-ci.community/t/install-of-oracle-jdk-8-failing/3038
