Skip to content

Commit 821d6d8

Browse files
committed
Travis: install the openjfx package
This is an attempt to keep the code building with OpenJDK 8. If this fails, we can migrate to building with OpenJDK 11, and targeting Java 8, although that is less good in some ways. The openjfx package is not available on trusty, so we use xenial.
1 parent 52a69a3 commit 821d6d8

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
1+
dist: xenial
12
language: java
23
jdk: openjdk8
34
branches:
45
only:
56
- master
67
- "/.*-[0-9]+\\..*/"
8+
before_install:
9+
- sudo apt-get update
10+
- sudo apt-get install -y openjfx=8u161-b12-1ubuntu2 libopenjfx-java=8u161-b12-1ubuntu2 libopenjfx-jni=8u161-b12-1ubuntu2
11+
- sudo apt-mark hold openjfx libopenjfx-java libopenjfx-jni
712
install: true
813
script: ".travis/build.sh"
914
cache:

0 commit comments

Comments
 (0)