Skip to content

Commit 8a7ec4b

Browse files
committed
[ci] Avoid bundle warnings about --path
1 parent f975ebf commit 8a7ec4b

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

.travis/before_install.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ bash .travis/install-openjdk.sh $OPENJDK_VERSION
1515

1616
if travis_isLinux; then
1717
gem install bundler
18-
bundle install --with=release_notes_preprocessing --path=vendor/bundle
18+
bundle config set --local path vendor/bundle
19+
bundle config set --local with release_notes_preprocessing
20+
bundle install
1921
else
2022
log_info "Not setting up ruby for ${TRAVIS_OS_NAME}."
2123
exit 0

.travis/build-doc.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ function generate_jekyll_doc() {
8888

8989
echo -e "\n\n"
9090
log_info "Building documentation using jekyll..."
91+
bundle config set --local path vendor/bundle
9192
bundle install
9293
bundle exec jekyll build
9394

do-release.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,9 @@ echo "Press enter to continue..."
122122
read
123123

124124
# install bundles needed for rendering release notes
125-
bundle install --with=release_notes_preprocessing --path vendor/bundle
125+
bundle config set --local path vendor/bundle
126+
bundle config set --local with release_notes_preprocessing
127+
bundle install
126128

127129
export RELEASE_NOTES_POST="_posts/$(date -u +%Y-%m-%d)-PMD-${RELEASE_VERSION}.md"
128130
echo "Generating ../pmd.github.io/${RELEASE_NOTES_POST}..."

docs/build-docs.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
bundle install --path vendor/bundle
1+
bundle config set --local path vendor/bundle
2+
bundle install
23
bundle update
34
bundle exec jekyll build

0 commit comments

Comments
 (0)