From 32354c4af43a6569ce970ae336f5121946105274 Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Tue, 18 Aug 2020 18:31:22 +0200 Subject: [PATCH] Update .travis.yml and deploy_master.sh --- .travis.yml | 6 +++--- travis/deploy_master.sh | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) 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