use travis-perl helpers fix CPAN.pm issues
Graham Knop [Sun, 29 Apr 2018 17:01:20 +0000 (19:01 +0200)]
travis-perl helpers has a helper to make sure CPAN.pm has a working
configuration.

.travis.yml

index 6d24afa..16c8583 100644 (file)
@@ -12,6 +12,9 @@ perl:
    - "5.10"
    - "5.8"
 
+before_install:
+   - eval $(curl https://travis-perl.github.io/init)
+   - $HELPERS_ROOT/bin/cpan-config
 install:
    - cpanm --notest --metacpan --skip-satisfied --with-develop --installdeps .
    - perl Makefile.PL