diff --git a/.travis.yml b/.travis.yml index 1db0bfb3f..8f2c2658c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -81,10 +81,10 @@ before_install: - ./tools/install-flatbuf.sh - export CLASSPATH=`pwd`/flatbuffers/java # Travis does not set JAVA_HOME on MacOS -- if [ `uname -s` = Darwin ]; then export JAVA_HOME=`/usr/libexec/java_home`; fi +- if [ `uname -s` = Darwin ]; then export JAVA_HOME=`/usr/libexec/java_home`; fi # Install Java on Windows (Travis currently does not support Java in the Windows # environment). -- if ( [ "$(uname)" != "Darwin" ] && [ "$(uname)" != "Linux" ] ); then export JAVA_HOME=${JAVA_HOME:-/c/jdk} && export PATH=${JAVA_HOME}/bin:${PATH} && choco install jdk8 -params 'installdir=c:\\jdk' -y; fi +- if ( [ "$(uname)" != "Darwin" ] && [ "$(uname)" != "Linux" ] ); then export JAVA_HOME=${JAVA_HOME:-/c/jdk} && export PATH=${JAVA_HOME}/bin:${PATH} && choco install jdk8 -params 'installdir=c:\\jdk' -y; choco install make; fi #- if [ `uname -s` = Darwin -a x${TOOL} = xrun_souffle_tests ]; then brew install subversion; fi install: