]> source.dussan.org Git - tigervnc.git/commitdiff
Make sure travis-ci builds java viewer with latest openjdk 8
authorBrian P. Hinz <bphinz@users.sf.net>
Sat, 21 Dec 2019 22:48:28 +0000 (17:48 -0500)
committerBrian P. Hinz <bphinz@users.sf.net>
Sat, 21 Dec 2019 22:49:31 +0000 (17:49 -0500)
.travis.yml

index ae729b447d05d131667922e41344db53174c7c88..141164f9b85fa7d26e3e4a02cae559306ca20518 100644 (file)
@@ -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