Skip to content

Commit

Permalink
Try carton for travis build
Browse files Browse the repository at this point in the history
  • Loading branch information
rwstauner committed Jan 26, 2014
1 parent d8e6993 commit 5bb09fd
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .travis.yml
Expand Up @@ -6,14 +6,26 @@ perl:
- "5.12"
- "5.10"


before_install:
- cpanm http://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/common-sense-3.6.tar.gz
# As of 2013-11-02 travis doesn't seem to find this one yet.
- cpanm http://cpan.metacpan.org/authors/id/M/MA/MAKAMAKA/JSON-2.90.tar.gz
- cpanm -n Devel::Cover::Report::Coveralls
- cpanm Carton

install:
- carton install


script:
- perl Makefile.PL && cover -test -report coveralls
# Devel::Cover isn't in the cpanfile
# but if it's installed into the global dirs this should work.
- HARNESS_PERL_SWITCHES=-MDevel::Cover carton exec prove -lrv t

after_success:
- cover -report coveralls


notifications:
email:
Expand Down

0 comments on commit 5bb09fd

Please sign in to comment.