You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by jt...@apache.org on 2020/12/27 20:04:55 UTC

[netbeans-html4j] 04/04: Avoid crashes by using firefox for browser tests

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

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

commit 23493b5811c207f9c72281baadde1d613a6f423f
Author: Jaroslav Tulach <ja...@apidesign.org>
AuthorDate: Sun Dec 27 09:36:57 2020 +0100

    Avoid crashes by using firefox for browser tests
---
 .travis.yml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index cfa050e..2839167 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -22,6 +22,7 @@ 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
+  - sudo apt-get install -y firefox || echo no sudo apt-get
   - if [ -n "$URL" ]; then pushd /tmp; curl $URL -o jdk.tgz; tar fxz jdk.tgz; JAVA_HOME=`pwd`/$DIR; popd; export JAVA_HOME; fi
   - echo Java is $JAVA_HOME
   - ls -l $JAVA_HOME
@@ -31,6 +32,7 @@ before_script:
   - sleep 3
 script:
   - $JAVA_HOME/bin/java -version
+  - if type firefox; then (firefox&); fi
   - mvn install -DskipTests $ARGS
   - mvn -q verify $ARGS -Dorg.netbeans.html.Generic.wait4js=true
   - if [ -n "$JAVADOC" ]; then mvn javadoc:aggregate; fi
@@ -42,7 +44,7 @@ matrix:
       dist: trusty
       jdk: openjdk8
       env:
-        - ARGS=-Dnone
+        - ARGS=-Dcom.dukescript.presenters.browser=firefox
         - DIR=zulu8.40.0.25-ca-fx-jdk8.0.222-linux_x64
         - URL=https://cdn.azul.com/zulu/bin/$DIR.tar.gz
     - os: linux
@@ -56,7 +58,7 @@ matrix:
       dist: trusty
       jdk: openjdk15
       env:
-        - ARGS=-Dnone
+        - ARGS=-Dcom.dukescript.presenters.browser=firefox
         - JAVADOC=yes
     - os: osx
       name: Mac JDK8


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

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