Skip to content

Commit

Permalink
Manually download the latest JDK 9
Browse files Browse the repository at this point in the history
  • Loading branch information
akarnokd committed Jul 25, 2017
1 parent 0794849 commit fabffd4
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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)
Expand Down

0 comments on commit fabffd4

Please sign in to comment.