2019-10-18 16:40:44 +02:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
|
|
|
|
source .travis/logger.sh
|
|
|
|
source .travis/common-functions.sh
|
|
|
|
|
|
|
|
travis_debug
|
|
|
|
|
2019-10-18 19:45:50 +02:00
|
|
|
OPENJDK_VERSION=$1
|
|
|
|
|
2019-10-18 16:40:44 +02:00
|
|
|
bash .travis/setup-secrets.sh
|
|
|
|
bash .travis/configure-maven.sh
|
2019-10-18 19:45:50 +02:00
|
|
|
bash .travis/install-openjdk.sh $OPENJDK_VERSION
|
2019-10-18 16:40:44 +02:00
|
|
|
|
|
|
|
|
|
|
|
if travis_isLinux; then
|
|
|
|
gem install bundler
|
2020-07-31 14:08:20 +02:00
|
|
|
bundle config set --local path vendor/bundle
|
|
|
|
bundle config set --local with release_notes_preprocessing
|
|
|
|
bundle install
|
2019-10-18 16:40:44 +02:00
|
|
|
else
|
|
|
|
log_info "Not setting up ruby for ${TRAVIS_OS_NAME}."
|
|
|
|
exit 0
|
|
|
|
fi
|