Skip to content

Commit

Permalink
Do not tax travis with full pull request smoking
Browse files Browse the repository at this point in the history
  • Loading branch information
ribasushi committed Jan 22, 2013
1 parent f9080e4 commit e082408
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion maint/travis-ci_scripts/10_before_install.bash
Expand Up @@ -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
Expand Down

0 comments on commit e082408

Please sign in to comment.