From: Peter Rabbitson Date: Thu, 23 Oct 2014 07:43:59 +0000 (+0200) Subject: (travis) Install older DBD::SQLite on perl < 5.8.4, I fucked up on testing X-Git-Tag: v0.082810~7 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8e556b209633d841e43c0da1abab56ec163000f6;p=dbsrgits%2FDBIx-Class.git (travis) Install older DBD::SQLite on perl < 5.8.4, I fucked up on testing Related RT: https://rt.cpan.org/Ticket/Display.html?id=99747 ribasushi-- (cherry pick of 21b3c791) --- diff --git a/maint/travis-ci_scripts/30_before_script.bash b/maint/travis-ci_scripts/30_before_script.bash index 4105fea..3d0fae8 100755 --- a/maint/travis-ci_scripts/30_before_script.bash +++ b/maint/travis-ci_scripts/30_before_script.bash @@ -82,10 +82,19 @@ if [[ "$CLEANTEST" = "true" ]]; then # installdeps 'SQL::Abstract~<1.99' - elif ! CPAN_is_sane ; then - # no configure_requires - we will need the usual suspects anyway - # without pre-installing these in one pass things like extract_prereqs won't work - installdeps ExtUtils::MakeMaker ExtUtils::CBuilder Module::Build + else + + if ! CPAN_is_sane ; then + # no configure_requires - we will need the usual suspects anyway + # without pre-installing these in one pass things like extract_prereqs won't work + installdeps ExtUtils::MakeMaker ExtUtils::CBuilder Module::Build + fi + + # FIXME - temporary until 1.46 comes out / RT#99747 is fixed + # insufficient testing of 5.8.3, ned older DBD::SQlite, ribasushi-- + if ! perl -M5.008004 -e 1 &>/dev/null ; then + installdeps DBI I/IS/ISHIGAKI/DBD-SQLite-1.42.tar.gz + fi fi