Skip to content

Commit

Permalink
Fix Travis windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihai Budiu authored and ryzhyk committed Nov 24, 2020
1 parent bf02fa7 commit 90b2c26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 90b2c26

Please sign in to comment.