Fix travis (#143)

* Use xenial in Travis

trusty is going EOL at end of this month and this also fixes openjdk11
builds.

Ref: https://travis-ci.community/t/oracle-jdk11-build-error/1865/6

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>

* Try to use matrix and manually install oracle jdk 8

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
James
2019-04-28 12:43:03 -07:00
committed by Tyler Bochard
parent 5fd467c1ea
commit d9a475f309

View File

@@ -1,11 +1,11 @@
language: java
sudo: false
dist: trusty
dist: xenial
cache:
directories:
- $HOME/.m2
jdk:
- oraclejdk8
- openjdk8
- openjdk11
install: true
script: ./travis/build.sh