language: java

os:
- linux
- osx

before_install:
# https://github.com/travis-ci/travis-ci/issues/8408
- unset -v _JAVA_OPTIONS
# https://github.com/travis-ci/travis-ci/issues/8703
- unset -f cd

install:
- . ./install-jdk.sh --verbose

script:
- java --version
- ./build.jsh

after_success:
- cd $TRAVIS_BUILD_DIR/demo/00-bootstrap
- ./bootstrap.jsh

- cd $TRAVIS_BUILD_DIR/demo/01-hello-world
- ./build-01-hello-world.jsh

dist: xenial
language: java

install:
- java --version

script:
- ./build.jsh

after_success:
- cd $TRAVIS_BUILD_DIR/demo/00-bootstrap
- echo "./bootstrap.jsh"

- cd $TRAVIS_BUILD_DIR/demo/01-hello-world
- echo "./build-01-hello-world.jsh"

Switch to xenial distribution on Travis CI
Switch to xenial distribution on Travis CI
