From 97cb0554e434247bef743ad63dde965f602ccdfe Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Wed, 1 May 2019 15:43:52 -0700 Subject: [PATCH] travis.yml: Choose dist trusty to fix Java 8 The upgrade to Xenial broke Java 8, as Trusty contained Java 8 whereas Xenial uses Java 11. So this "flipped" which version was necessary to be downloaded from Java 11 to Java 8. And Java 8 is not supported by install-jdk.sh. Workaround as seen at: https://travis-ci.community/t/oracle-jdk-11-and-10-are-pre-installed-not-the-openjdk-builds/785/16 I hope this is temporary. --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 28c3e72de0..7f62dd95cc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,6 +41,8 @@ after_success: os: - linux +dist: trusty + jdk: - oraclejdk8 - openjdk11