Skip to content

Commit 8622a35

Browse files
committed
Set JAVA_HOME by hand for osx builds
1 parent 5fb634a commit 8622a35

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ matrix:
88
- os: linux
99
jdk: openjdk7
1010
- os: osx
11-
language: java
11+
# see travis issue https://github.com/travis-ci/travis-ci/issues/2839
12+
env: JAVA_HOME=$(/usr/libexec/java_home)
1213
before_install:
1314
- mvn clean
1415
- git clone -b travis `git config --get remote.origin.url` target/travis

0 commit comments

Comments
 (0)