From: Karen Etheridge Date: Mon, 7 Oct 2019 16:09:35 +0000 (-0700) Subject: overcome "weaken is only available with the XS version of Scalar::Util" on 5.6 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=117c7476fb9f905a4e3d7deb67191dce7f38af3b;hp=8b9e23628bac27e5e8a4b800a441d9d16e5ba71a;p=p5sagit%2FSub-Name.git overcome "weaken is only available with the XS version of Scalar::Util" on 5.6 --- diff --git a/.travis.yml b/.travis.yml index e31d93c..4a70836 100644 --- a/.travis.yml +++ b/.travis.yml @@ -50,6 +50,8 @@ env: - AUTOMATED_TESTING=1 - RELEASE_TESTING=0 before_install: + - perl -MScalar::Util -e'print qq{Scalar::Util is at version $Scalar::Util::VERSION\n}' + - perl -M5.008 -e1 2>/dev/null || cpan-install Scalar::Util@1.52 - git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers - source ~/travis-perl-helpers/init - build-perl diff --git a/dist.ini b/dist.ini index dd4e112..41bec35 100644 --- a/dist.ini +++ b/dist.ini @@ -19,7 +19,8 @@ GithubMeta.remote = github installer = MakeMaker ; stay 5.6-friendly authority = cpan:FLORA Test::MinimumVersion.max_target_perl = 5.006 -Test::ReportPrereqs.include = DynaLoader +Test::ReportPrereqs.include[0] = DynaLoader +Test::ReportPrereqs.include[1] = Scalar::Util MinimumPerl.test_finder = all_files_but_special_features ; authordep Pod::Weaver::Section::AllowOverride