diff --git a/travis/deploy_master.sh b/travis/deploy_master.sh index 14407f7..26749fa 100644 --- a/travis/deploy_master.sh +++ b/travis/deploy_master.sh @@ -1,6 +1,7 @@ #!/bin/bash -e # Setup variables +export PATH=$PATH:/mnt/c/ProgramData/chocolatey/lib/maven/bin export MAVEN_OPTS="--add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/javax.crypto=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED" if [ "$TRAVIS_CPU_ARCH" = "arm64" ]; then diff --git a/travis/win.sh b/travis/win.sh index c05b664..4442376 100644 --- a/travis/win.sh +++ b/travis/win.sh @@ -14,6 +14,10 @@ exit 0 choco install gperf choco install strawberryperl +# Setup variables +export PATH=$PATH:/mnt/c/ProgramData/chocolatey/lib/maven/bin +# End setup variables + cd $TRAVIS_BUILD_DIR git clone https://github.com/Microsoft/vcpkg.git cd vcpkg