From: Brian P. Hinz Date: Sat, 21 Dec 2019 22:48:28 +0000 (-0500) Subject: Make sure travis-ci builds java viewer with latest openjdk 8 X-Git-Tag: v1.10.90~68 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cdd5fabfb56216f788a837bc01959e861d55ad13;p=tigervnc.git Make sure travis-ci builds java viewer with latest openjdk 8 --- 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