[ci] Skip regression-tester baseline creation on java-grammar branch

It takes too long, probably because the java rules are not updated
yet to the new java AST and therefore throwing lots of exceptions.
This commit is contained in:
Andreas Dangel
2020-04-25 09:33:37 +02:00
parent 90f590d5f1
commit 927745ae9c

View File

@ -62,7 +62,11 @@ elif travis_isPush; then
sourceforge_uploadFile "${VERSION}" "pmd-dist/target/pmd-bin-${VERSION}.zip"
sourceforge_uploadFile "${VERSION}" "pmd-dist/target/pmd-src-${VERSION}.zip"
regression-tester_uploadBaseline
if [ "${TRAVIS_BRANCH}" != "java-grammar" ]; then
regression-tester_uploadBaseline
else
log_info "Skipping regression tester for branch ${TRAVIS_BRANCH}"
fi
else
# other build. Can happen during release: the commit with a non snapshot version is built, but not from the tag.