diff --git a/.travis.yml b/.travis.yml index 664b967..0c19daa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,11 +35,11 @@ deploy: script: | if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then - bash travis/linux.sh; + ./travis/linux.sh; fi if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then - bash travis/win.sh; + ./travis/win.sh; fi - bash travis/deploy_master.sh + ./travis/deploy_master.sh diff --git a/travis/deploy_master.sh b/travis/deploy_master.sh index 3f50e73..4ef466e 100644 --- a/travis/deploy_master.sh +++ b/travis/deploy_master.sh @@ -1,6 +1,7 @@ #!/bin/bash -e # Setup variables +sudo apt install maven 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