X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=maint%2Ftravis-ci_scripts%2F30_before_script.bash;h=bc0e9fb93922b93df36d2ac0df4af4fae036e1fb;hb=07a243ad8f4273317a028eb7a55a8682a713eba3;hp=eb65015b74e1ece349649de15515ff6227e8d1b9;hpb=87b1255103d7b8873b225416cb381c50011f4c06;p=dbsrgits%2FDBIx-Class.git diff --git a/maint/travis-ci_scripts/30_before_script.bash b/maint/travis-ci_scripts/30_before_script.bash index eb65015..bc0e9fb 100755 --- a/maint/travis-ci_scripts/30_before_script.bash +++ b/maint/travis-ci_scripts/30_before_script.bash @@ -24,7 +24,7 @@ if is_cperl ; then fi -# FIXME - this is a kludge in place of proper MDV testing. For the time +# FIXME - this is a kludge in place of proper MVDT testing. For the time # being simply use the minimum versions of our DBI/DBDstack, to avoid # fuckups like 0.08260 (went unnoticed for 5 months) if [[ "$MVDT" == "true" ]] ; then @@ -70,8 +70,8 @@ if [[ "$BREAK_CC" == "true" ]] ; then run_or_err "Linking ~/bin/cc to /bin/false - thus essentially BREAKING the C compiler" \ "ln -s /bin/false $HOME/bin/cc" - # FIXME: working around RT#113682, RT#113685, and some other unfiled bugs - installdeps Module::Build B::Hooks::EndOfScope Devel::GlobalDestruction Class::Accessor::Grouped + # FIXME: working around RT#113682, and some other unfiled bugs + installdeps Module::Build Devel::GlobalDestruction Class::Accessor::Grouped run_or_err "Linking ~/bin/cc to /bin/true - BREAKING the C compiler even harder" \ "ln -fs /bin/true $HOME/bin/cc" @@ -171,6 +171,16 @@ else run_or_err "Configure on current branch with --with-optdeps" "perl Makefile.PL --with-optdeps" + # FIXME - evil evil work around for https://github.com/Manwar/Test-Strict/issues/17 + if perl -M5.025 -e1 &>/dev/null; then + mkdir -p "$( perl -MConfig -e 'print $Config{sitelib}' )/Devel" + cat < "$( perl -MConfig -e 'print $Config{sitelib}' )/Devel/Cover.pm" +package Devel::Cover; +our \$VERSION = 0.43; +1; +MyDevelCover + fi + # 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)"