Skip to content

Commit

Permalink
add cpanfile and test against travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur Axel 'fREW' Schmidt committed Sep 21, 2015
1 parent ac90878 commit d6015fb
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
language: perl
perl:
- "5.14"
- "5.16"
- "5.18"
- "5.20"
- "5.22"
- "blead"

matrix:
allow_failures:
- perl: "blead"

before_install:
- git clone git://github.com/haarg/perl-travis-helper
- source perl-travis-helper/init
- build-perl
- perl -V

install:
- export RELEASE_TESTING=1 AUTOMATED_TESTING=1 AUTHOR_TESTING=1 HARNESS_OPTIONS=c HARNESS_TIMER=1
- cpanm --quiet --notest Devel::Cover::Report::Coveralls
- cpanm --quiet --notest --installdeps .

script:
- PERL5OPT=-MDevel::Cover=-coverage,statement,branch,condition,path,subroutine prove -lrsv t
- cover
after_success:
- cover -report coveralls
7 changes: 7 additions & 0 deletions cpanfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
requires 'Web::Simple';
requires 'IO::All';
requires 'JSON::XS';

on test => sub {
requires 'Test::More';
};

0 comments on commit d6015fb

Please sign in to comment.