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.
This commit is contained in:
Eric Anderson 2019-05-01 15:43:52 -07:00
parent e8be55e56f
commit 97cb0554e4
1 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,8 @@ after_success:
os:
- linux
dist: trusty
jdk:
- oraclejdk8
- openjdk11