From 927745ae9c048d8938a68121020b79f80216cb53 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Sat, 25 Apr 2020 09:33:37 +0200 Subject: [PATCH] [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. --- .travis/build-deploy.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis/build-deploy.sh b/.travis/build-deploy.sh index df07387543..18dc1c824a 100755 --- a/.travis/build-deploy.sh +++ b/.travis/build-deploy.sh @@ -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.