diff --git a/.travis/all-java.xml b/.travis/all-java.xml
index 7a52064c69..bb560b5be1 100644
--- a/.travis/all-java.xml
+++ b/.travis/all-java.xml
@@ -4,7 +4,7 @@
xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 http://pmd.sourceforge.net/ruleset_2_0_0.xsd">
- Every Java Rule in PMD
+ Every java rule in PMD which is used for the regression tests with pmdtester
diff --git a/.travis/build-deploy.sh b/.travis/build-deploy.sh
index 4305e86b39..3d203cc06b 100755
--- a/.travis/build-deploy.sh
+++ b/.travis/build-deploy.sh
@@ -29,7 +29,7 @@ TRAVIS_COMMIT_RANGE=${TRAVIS_COMMIT_RANGE}"
function upload_baseline() {
cd ..
- pmdtester -r ./pmd -p ${TRAVIS_BRANCH} -pc ./pmd/.travis/all-java.xml -l ./pmd/.travis/project-list.xml -f
+ pmdtester -m single -r ./pmd -p ${TRAVIS_BRANCH} -pc ./pmd/.travis/all-java.xml -l ./pmd/.travis/project-list.xml -f
cd target/reports
zip -q -r ${TRAVIS_BRANCH}-baseline.zip ${TRAVIS_BRANCH}/
rsync -avh ${TRAVIS_BRANCH}-baseline.zip ${PMD_SF_USER}@web.sourceforge.net:/home/frs/project/pmd/pmd-regression-tester/
@@ -90,11 +90,12 @@ elif travis_isPush; then
else
log_success "Successfully uploaded release_notes.md as ReadMe.md to sourceforge"
fi
+
+ upload_baseline
+
true
)
- upload_baseline
-
else
log_info "This is neither a pull request nor a push. Not executing any build."
exit 1