This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a commit to branch UpdatingTravis
in repository https://gitbox.apache.org/repos/asf/netbeans-html4j.git

commit bb51dbf28d2fa9af2a8c953554649a3b6d477873
Author: Jaroslav Tulach <[email protected]>
AuthorDate: Sun Sep 29 21:43:59 2019 +0200

    Download OpenJDK with JavaFX
---
 .travis.yml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 6ef826c..7359337 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -22,6 +22,14 @@ services:
 before_install:
   - sudo apt-get -qq update || echo no sudo apt-get
   - sudo apt-get install -y libwebkitgtk-3.0-0 || echo no sudo apt-get
+  - if [ -n "$URL" ]; then
+  -   curl $URL -o jdk.tgz
+  -   tar fxvz jdk.tgz
+  -   rm *.gz
+  -   JAVA_HOME=`pwd`/*jdk*8.0*
+  -   echo Java is $JAVA_HOME
+  -   export JAVA_HOME
+  - fi
 before_script:
   - export DISPLAY=:99.0
   - sh -e /etc/init.d/xvfb start || echo No X11
@@ -38,6 +46,7 @@ matrix:
       jdk: openjdk8
       env:
         - ARGS=-Dnone
+        - 
URL=https://cdn.azul.com/zulu/bin/zulu8.40.0.25-ca-fx-jdk8.0.222-linux_x64.tar.gz
     - os: linux
       dist: trusty
       jdk: openjdk11


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to