Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Vinetos/52f85e79025b1307532b55cc28092a01 to your computer and use it in GitHub Desktop.
Save Vinetos/52f85e79025b1307532b55cc28092a01 to your computer and use it in GitHub Desktop.
JDK 10 for Travis-CI builds
# This is a Temporary solution until openJDK 10 will be added to travis configuration.
# Specify language
language: java
# Disable other otherJDK (or unavailible)
# jdk:
# - oraclejdk8
# Download jdk installer
before_install:
- wget https://github.com/sormuras/bach/raw/master/install-jdk.sh
# Temporary solutions to install openJDK 10
matrix:
include:
- env: JDK='OpenJDK 10'
install: . ./install-jdk.sh -F 10 -L GPL
# Now your builds will use OpenJDK 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment