forked from phoedos/pmd
[ci] Install bundles into vendor/bundle, fix bundle config when calling pmdtester
This commit is contained in:
@ -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
|
||||
|
@ -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/\//_}"
|
||||
|
Reference in New Issue
Block a user