I have a one-liner in a before-install to export that;
before_install:
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then export
JAVA_HOME=$(/usr/libexec/java_home); fi
-m
--
___
GeoT
On Sat, Aug 15, 2015 at 8:41 PM, Andrea Aime
wrote:
> Any idea?
>
Found this article, seems to provide some info:
http://www.mkyong.com/java/maven-java_home-is-not-defined-correctly-on-mac-osx/
Will try it tomorrow, hopefully one can find env variables in the matrix too
Cheers
Andrea
--
==
G
Hi Mark,
thank you, that solved one issue, stumbled on another... now JAVA_HOME is
not defined:
Using worker: worker-jupiter-brain: (a9f7e478-5ca0-4492-bb63-6f1d201f959e:)
system_info
Build system information
Build language: java
git.checkout
14.00s$ git clone --depth=50 --branch=master
git:/
Hey Andrea,
I just saw your changes to the .travis.yml, currently the jvm switcher is
not supported on osx causing those builds to fail.
You'll want to remove the jdk section and then add an include to build with
the non default JDK's in the matix. It will crat a build matrix with the
two default
HI,
a few months ago I logged a request at Travis to get a OSX build
machine. It has now arrived, activated for the GeoTools and GeoServer
projects.
Here is the mail from the Travis people:
-
Hi Andrea!
Just enabled the multi-os feature for both:
https://github.com/geotools/geo