From: Peter Rabbitson Date: Mon, 26 Aug 2013 01:21:13 +0000 (+0200) Subject: Adjust DBD::Firebird travis init X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4e338f1b14b2d24a7a0d58312237759224fd7a7b;p=dbsrgits%2FDBIx-Class-Historic.git Adjust DBD::Firebird travis init --- diff --git a/maint/travis-ci_scripts/30_before_script.bash b/maint/travis-ci_scripts/30_before_script.bash index 3428b87..d467a4c 100755 --- a/maint/travis-ci_scripts/30_before_script.bash +++ b/maint/travis-ci_scripts/30_before_script.bash @@ -87,10 +87,9 @@ else parallel_installdeps_notest Moose Module::Install JSON SQL::Translator if [[ -n "DBICTEST_FIREBIRD_DSN" ]] ; then - # the official version is full of 5.10-isms, but works perfectly fine on 5.8 - # pull in our patched copy + # pull in patched unreleased copy with restored 5.8 compat run_or_err "Fetching patched DBD::Firebird" \ - "git clone https://github.com/dbsrgits/perl-dbd-firebird-5.8.git ~/dbd-firebird" + "git clone https://github.com/mariuz/perl-dbd-firebird ~/dbd-firebird" # the official version is very much outdated and does not compile on 5.14+ # use this rather updated source tree (needs to go to PAUSE): @@ -98,6 +97,11 @@ else run_or_err "Fetching patched DBD::InterBase" \ "git clone https://github.com/dbsrgits/perl-dbd-interbase ~/dbd-interbase" + # Now part of DBD::Firebird configure_requires, which are not present + # in the cloned repo (no META.*) + # FIXME - need to get this off metacpan or something instead + parallel_installdeps_notest File::Which + parallel_installdeps_notest ~/dbd-interbase/ ~/dbd-firebird/ fi @@ -112,12 +116,14 @@ if [[ "$CLEANTEST" = "true" ]]; then # we may need to prepend some stuff to that list HARD_DEPS="$(echo $(make listdeps))" + +##### TEMPORARY WORKAROUNDS + # this is a fucked CPAN - won't understand configure_requires of # various pieces we may run into + # FIXME - need to get these off metacpan or something instead CPAN_is_sane || HARD_DEPS="ExtUtils::Depends B::Hooks::OP::Check $HARD_DEPS" -##### TEMPORARY WORKAROUNDS - # The unicode-in-yaml bug on older cpan clients # FIXME there got to be a saner way to fix this... perl -M5.008008 -e 1 &> /dev/null || \