language: java

sudo: required
dist: trusty
group: edge
jdk: oraclejdk9
#addons:
#  apt:
#    packages:
#      - oracle-java9-installer


#jdk:
#  - oraclejdk9

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)

 # cache between builds
cache:
  directories:
  - $HOME/.m2
  - $HOME/.gradle

language: java

sudo: required
dist: trusty
group: edge
jdk: oraclejdk9
#addons:
#  apt:
#    packages:
#      - oracle-java9-installer


#jdk:
#  - oraclejdk9

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/180/binaries/jdk-9+180_linux-x64_bin.tar.gz
  - tar -xzf jdk-9+180_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)

 # cache between builds
cache:
  directories:
  - $HOME/.m2
  - $HOME/.gradle

Upgrade to JDK 9 b180
Upgrade to JDK 9 b180
