From fabffd404d35cfef8d4ddbc48f31b4793ebcfc7e Mon Sep 17 00:00:00 2001 From: akarnokd Date: Tue, 25 Jul 2017 15:19:28 +0200 Subject: [PATCH] Manually download the latest JDK 9 --- .travis.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1ad5d45..e05303f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,10 +4,10 @@ sudo: required dist: trusty group: edge jdk: oraclejdk9 -addons: - apt: - packages: - - oracle-java9-installer +#addons: +# apt: +# packages: +# - oracle-java9-installer #jdk: @@ -17,6 +17,13 @@ before_install: - chmod +x gradlew - mkdir -p ~/.gradle && echo "org.gradle.daemon=false" >> ~/.gradle/gradle.properties - export GRADLE_OPTS=-Xmx1024m + # From https://github.com/reactive-streams/reactive-streams-jvm/pull/383 + - cd ~ + - wget http://download.java.net/java/jdk9/archive/179/binaries/jdk-9+179_linux-x64_bin.tar.gz + - tar -xzf jdk-9+179_linux-x64_bin.tar.gz + - export JAVA_HOME=~/jdk-9 + - PATH=$JAVA_HOME/bin:$PATH + - cd - after_success: - bash <(curl -s https://codecov.io/bash)