diff --git a/circle.yml b/circle.yml new file mode 100644 index 0000000..2efcaf0 --- /dev/null +++ b/circle.yml @@ -0,0 +1,21 @@ +--- +# https://github.com/codecov/example-perl + +machine: + environment: + PATH: ~/perl5/bin:$PATH + +dependencies: + pre: + - curl -L https://cpanmin.us | perl - App::cpanminus + - cpanm --local-lib=~/perl5 local::lib && echo "eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)" >> ~/.bashrc + - cpanm --quiet --notest --skip-satisfied Devel::Cover::Report::Codecov + +test: + override: + - perl Build.PL + - ./Build build + - cover -test + + post: + - cover -report codecov