From cdd5fabfb56216f788a837bc01959e861d55ad13 Mon Sep 17 00:00:00 2001 From: "Brian P. Hinz" Date: Sat, 21 Dec 2019 17:48:28 -0500 Subject: [PATCH] Make sure travis-ci builds java viewer with latest openjdk 8 --- .travis.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index ae729b44..141164f9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,11 +17,15 @@ matrix: - cmake -DCMAKE_BUILD_TYPE=Debug . && make - language: java - # We're not compatible with the newer java + # compile with java 8 for backwards compatibility dist: xenial env: + jdk: openjdk8 before_install: - - sudo apt-get install -y openjdk-8-jdk + - sudo apt-get -y install openjdk-8-jdk + addons: + apt: + update: true script: - cd java && cmake . && make -- 2.39.5