Subscribed unsubscribe Subscribe Subscribe

Hateburo: kazeburo hatenablog

Operations Engineer / Site Reliability / 運用系小姑 / Perl Monger

How to automate CPAN.pm configuration on Travis

I want to automate CPAN.pm configuration on Travis.
I wrote .travis.yaml like this

language: perl
before_install:
  - cpanm -n CPAN
  - (echo y;echo y;echo o conf commit)|cpan
  - cpanm -n Module::Install Module::Install::Repository Module::Install::AuthorTests Module::Install::CPANfile
perl:
  - 5.18
  - 5.16
  - 5.14