sudo: false
dist: trusty
language: java

install:
- cd ~
- wget http://download.java.net/java/jdk9/archive/174/binaries/jdk-9-ea+174_linux-x64_bin.tar.gz
- tar -xzf jdk-9-ea+174_linux-x64_bin.tar.gz
- JAVA_HOME=~/jdk-9
- PATH=$JAVA_HOME/bin:$PATH
- cd $TRAVIS_BUILD_DIR

script:
- ./build.jsh
#- ./test.jsh
#- ./demo.jsh

sudo: false
dist: trusty
language: java

install:
- cd ~
- JDK9_BUILD=174
- JDK9_TARGZ=jdk-9-ea+${JDK9_BUILD}_linux-x64_bin.tar.gz
- wget http://download.java.net/java/jdk9/archive/${JDK9_BUILD}/binaries/${JDK9_TARGZ}
- tar -xzf ${JDK9_TARGZ}
- JAVA_HOME=~/jdk-9
- PATH=$JAVA_HOME/bin:$PATH
- cd -

script:
- ./build.jsh
#- ./test.jsh
#- ./demo.jsh

Use shell parameters to simplify upgrading to new JDK 9 builds
Use shell parameters to simplify upgrading to new JDK 9 builds
