Skip to content

Commit

Permalink
Travis: install the openjfx package
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ctrueden committed May 17, 2019
1 parent 52a69a3 commit 1e17e5b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
dist: xenial
language: java
jdk: openjdk8
branches:
only:
- master
- "/.*-[0-9]+\\..*/"
before_install:
- sudo apt-get update
- sudo apt-get install -y openjfx libopenjfx-java libopenjfx-jni
install: true
script: ".travis/build.sh"
cache:
Expand Down

1 comment on commit 1e17e5b

@StephanPreibisch
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great, thanks @ctrueden !!

Please sign in to comment.