language: java

jdk:
  - oraclejdk8
  - oraclejdk7
  - openjdk7
  - openjdk8

install:
  - rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install 6.3.0

script: ./gradlew test --stacktrace --no-daemon


language: java

jdk:
  - oraclejdk8
  - openjdk7
  - openjdk8

install:
  - rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install 6.3.0
  - JAVA_HOME=$(jdk_switcher home openjdk8) ./gradlew classes testClasses

script: ./gradlew test --stacktrace --no-daemon


Remove Oracle JDK7 from Travis build as no longer supported. Add workaround for Gradle wrapper download problem.
Remove Oracle JDK7 from Travis build as no longer supported. Add workaround for Gradle wrapper download problem.
