[ci] Avoid bundle warnings about --path

This commit is contained in:
Andreas Dangel 2020-07-31 14:08:20 +02:00
parent f975ebf7b3
commit 8a7ec4b4e3
4 changed files with 9 additions and 3 deletions

View File

@ -15,7 +15,9 @@ bash .travis/install-openjdk.sh $OPENJDK_VERSION
if travis_isLinux; then
gem install bundler
bundle install --with=release_notes_preprocessing --path=vendor/bundle
bundle config set --local path vendor/bundle
bundle config set --local with release_notes_preprocessing
bundle install
else
log_info "Not setting up ruby for ${TRAVIS_OS_NAME}."
exit 0

View File

@ -88,6 +88,7 @@ function generate_jekyll_doc() {
echo -e "\n\n"
log_info "Building documentation using jekyll..."
bundle config set --local path vendor/bundle
bundle install
bundle exec jekyll build

View File

@ -122,7 +122,9 @@ echo "Press enter to continue..."
read
# install bundles needed for rendering release notes
bundle install --with=release_notes_preprocessing --path vendor/bundle
bundle config set --local path vendor/bundle
bundle config set --local with release_notes_preprocessing
bundle install
export RELEASE_NOTES_POST="_posts/$(date -u +%Y-%m-%d)-PMD-${RELEASE_VERSION}.md"
echo "Generating ../pmd.github.io/${RELEASE_NOTES_POST}..."

View File

@ -1,3 +1,4 @@
bundle install --path vendor/bundle
bundle config set --local path vendor/bundle
bundle install
bundle update
bundle exec jekyll build