From e082408136cd924db8681d890c8c6493bcdb4d90 Mon Sep 17 00:00:00 2001 From: Peter Rabbitson Date: Tue, 22 Jan 2013 02:35:06 +0100 Subject: [PATCH] Do not tax travis with full pull request smoking --- maint/travis-ci_scripts/10_before_install.bash | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/maint/travis-ci_scripts/10_before_install.bash b/maint/travis-ci_scripts/10_before_install.bash index e1649b94f..a53b7ee49 100755 --- a/maint/travis-ci_scripts/10_before_install.bash +++ b/maint/travis-ci_scripts/10_before_install.bash @@ -8,7 +8,10 @@ if [[ -n "$BREWVER" ]] ; then # do some extra short-circuiting here # when smoking master do not attempt bleadperl (not release-critical) - if [[ "$TRAVIS_BRANCH" = "master" ]] && [[ "$BREWVER" = "blead" ]]; then + if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then + echo_err "$(tstamp) pull-request smoking with custom perl compilation requested - bailing out" + export SHORT_CIRCUIT_SMOKE=1 + elif [[ "$TRAVIS_BRANCH" = "master" ]] && [[ "$BREWVER" = "blead" ]]; then echo_err "$(tstamp) master branch is not smoked with bleadperl - bailing out" export SHORT_CIRCUIT_SMOKE=1 # on topic/ branches test only with travis perls