Force the use of Ubuntu Trusty in the Travis build

If we don't force it, Travis will pick a release at random,
either Trusty or Xenial at the moment.

Using Oracle JDK 8 on Xenial is not easy, for some reason.

See:

* https://travis-ci.community/t/oracle-jdk-11-and-10-are-pre-installed-not-the-openjdk-builds/785/15
* https://github.com/travis-ci/travis-ci/issues/10289

(cherry picked from commit d6bd291934)
This commit is contained in:
Yoann Rodière 2019-06-13 16:39:19 +02:00 committed by Steve Ebersole
parent 784341682d
commit e4a3586316
1 changed files with 1 additions and 0 deletions

View File

@ -1,3 +1,4 @@
dist: trusty
language: java language: java
jdk: jdk: