Update setup_variables.sh
This commit is contained in:
parent
d034c5f49b
commit
4a18b722bf
@ -42,9 +42,9 @@ if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
|
|||||||
export JAVA_HOME="/c/Program Files/OpenJDK/openjdk-11.0.8_10"
|
export JAVA_HOME="/c/Program Files/OpenJDK/openjdk-11.0.8_10"
|
||||||
export VCPKG_DIR=$TRAVIS_BUILD_DIR/vcpkg
|
export VCPKG_DIR=$TRAVIS_BUILD_DIR/vcpkg
|
||||||
elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||||
export PATH="$PATH:$(/usr/libexec/java_home -v 11)"
|
export PATH="$PATH:$(/usr/libexec/java_home -v 14)"
|
||||||
export JAVA_HOME="$(/usr/libexec/java_home -v 11)"
|
export JAVA_HOME="$(/usr/libexec/java_home -v 14)"
|
||||||
export JAVA_INCLUDE_PATH="$(/usr/libexec/java_home -v 11)/include"
|
export JAVA_INCLUDE_PATH="$(/usr/libexec/java_home -v 14)/include"
|
||||||
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
||||||
export TRAVIS_CPU_ARCH_JAVA="${TRAVIS_CPU_ARCH,,}"
|
export TRAVIS_CPU_ARCH_JAVA="${TRAVIS_CPU_ARCH,,}"
|
||||||
export PATH="$PATH:/usr/lib/jvm/java-11-openjdk-$TRAVIS_CPU_ARCH_JAVA/bin"
|
export PATH="$PATH:/usr/lib/jvm/java-11-openjdk-$TRAVIS_CPU_ARCH_JAVA/bin"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user