[ci] Install bundles into vendor/bundle, fix bundle config when calling pmdtester

This commit is contained in:
Andreas Dangel
2018-10-07 10:57:39 +02:00
parent a8683e18a8
commit e58ad9ef84
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ before_install:
install:
- . ./install-jdk.sh -F 11 -L GPL -W $HOME/jdk
- gem install bundler
- bundle install --with=release_notes_preprocessing
- bundle install --with=release_notes_preprocessing --path=vendor/bundle
before_script: true
script: source .travis/build-$BUILD.sh
after_success: true

View File

@ -30,7 +30,7 @@ TRAVIS_COMMIT_RANGE=${TRAVIS_COMMIT_RANGE}"
function upload_baseline() {
log_info "Generating and uploading baseline for pmdtester..."
cd ..
bundle config --local path pmd/vendor/bundle
bundle config --local gemfile pmd/Gemfile
bundle exec pmdtester -m single -r ./pmd -p ${TRAVIS_BRANCH} -pc ./pmd/.travis/all-java.xml -l ./pmd/.travis/project-list.xml -f
cd target/reports
BRANCH_FILENAME="${TRAVIS_BRANCH/\//_}"