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.git


The following commit(s) were added to refs/heads/master by this push:
     new 9c6b06c  [TRAVIS] Fix macOS job
     new d9bd468  Merge pull request #1997 from blackleg/travis_macos
9c6b06c is described below

commit 9c6b06c07e830be8f5c9a6ec017e09c0c3542a6c
Author: Hector Espert <[email protected]>
AuthorDate: Sun Mar 1 12:06:19 2020 +0100

    [TRAVIS] Fix macOS job
---
 .travis.yml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index fa6a624..cf6b231 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -572,17 +572,21 @@ matrix:
             - nbbuild/travis/scripting.sh
 
         - name: MacOS tests
-          language: java
+          language: minimal
           os: osx
           osx_image: xcode10.1
-          jdk: openjdk11
           addons:
             homebrew:
               packages:
+                - openjdk@11
                 - ant
               update: true
           env:
             - OPTS="-silent -Dcluster.config=platform 
-Dpermit.jdk9.builds=true -Djavac.compilerargs=-nowarn 
-Dbuild.compiler.deprecation=false 
-Dtest-unit-sys-prop.ignore.random.failures=true -Dvanilla.javac.exists=true"
+          install:
+            - sudo ln -sfn /usr/local/opt/openjdk@11/libexec/openjdk.jdk 
/Library/Java/JavaVirtualMachines/openjdk-11.jdk
+            - export PATH="/usr/local/opt/openjdk@11/bin:$PATH"
+            - export JAVA_HOME=`/usr/libexec/java_home -v 11`
           before_script:
             - ant $OPTS clean
             - ant $OPTS build


---------------------------------------------------------------------
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