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
------------------------------------------------------------------------------
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to