Skip to content

Commit

Permalink
Bring .travis.yml up to speed with master.
Browse files Browse the repository at this point in the history
  • Loading branch information
oalders committed Feb 2, 2014
1 parent 093750d commit ac8526f
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .travis.yml
Expand Up @@ -6,15 +6,26 @@ perl:
- "5.12"
- "5.10"


before_install:
- npm install -g less
- 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:
- 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=+ignore,local carton exec prove -lrv t

after_success:
- cover -report coveralls


notifications:
email:
Expand Down

0 comments on commit ac8526f

Please sign in to comment.