[ci] Avoid bundle warnings about --path
This commit is contained in:
parent
f975ebf7b3
commit
8a7ec4b4e3
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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}..."
|
||||
|
@ -1,3 +1,4 @@
|
||||
bundle install --path vendor/bundle
|
||||
bundle config set --local path vendor/bundle
|
||||
bundle install
|
||||
bundle update
|
||||
bundle exec jekyll build
|
||||
|
Loading…
x
Reference in New Issue
Block a user