language: java
jdk:
    - oraclejdk8
script: 
    -  mvn test
    - ./gradlew build

language: java

jdk:
    - openjdk8

env:
    - TEST_COMMAND="gradle clean build"
    - TEST_COMMAND="mvn clean install"

script:
    - (eval "$TEST_COMMAND")

Update Travis to use openjdk8 and run Maven and Gradle builds as separate jobs
Update Travis to use openjdk8 and run Maven and Gradle builds as separate jobs
