before_install:
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
- source ~/travis-perl-helpers/init
- - perl -MScalar::Util -e'print qq{global -- in perl $], Scalar::Util is at version $Scalar::Util::VERSION\n}'
- - perl -M5.008 -e1 2>/dev/null || cpan-install Scalar::Util@1.52
- - perl -MScalar::Util -e'print qq{global -- in perl $], Scalar::Util is at version $Scalar::Util::VERSION\n}'
- - perl -M5.008 -e1 2>/dev/null && cpan-install Scalar::Util@1.52
- - perl -MScalar::Util -e'print qq{global -- in perl $], Scalar::Util is at version $Scalar::Util::VERSION\n}'
- build-perl
- perl -V
- build-dist
- cd $BUILD_DIR
install:
+ - perl -MScalar::Util -e'print qq{global -- in perl $], Scalar::Util is at version $Scalar::Util::VERSION\n}'
+ - perl -M5.008 -e1 2>/dev/null || cpan-install Scalar::Util@1.52
+ - perl -MScalar::Util -e'print qq{global -- in perl $], Scalar::Util is at version $Scalar::Util::VERSION\n}'
- cpan-install --deps
script:
- perl Makefile.PL