From: Peter Rabbitson Date: Tue, 8 Mar 2016 17:29:41 +0000 (+0100) Subject: (travis) Make sure DEVREL_DEPS + CLEANTEST-false behaves as intended X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=81698df5b8fb9654139e5ebe3d112d958bcb9856;p=dbsrgits%2FDBIx-Class.git (travis) Make sure DEVREL_DEPS + CLEANTEST-false behaves as intended This lapse was the reason https://github.com/Test-More/test-more/issues/637 went undetected for a while (also made me aware of RT#112312, ARGH!) --- diff --git a/maint/travis-ci_scripts/30_before_script.bash b/maint/travis-ci_scripts/30_before_script.bash index d5f3cd0..24515a8 100755 --- a/maint/travis-ci_scripts/30_before_script.bash +++ b/maint/travis-ci_scripts/30_before_script.bash @@ -142,7 +142,12 @@ else run_or_err "Configure on current branch with --with-optdeps" "perl Makefile.PL --with-optdeps" - parallel_installdeps_notest "$(make listdeps | sort -R)" + # if we are smoking devrels - make sure we upgrade everything we know about + if [[ "$DEVREL_DEPS" == "true" ]] ; then + parallel_installdeps_notest "$(make listalldeps | sort -R)" + else + parallel_installdeps_notest "$(make listdeps | sort -R)" + fi run_or_err "Re-configure with --with-optdeps" "perl Makefile.PL --with-optdeps" fi