Skip to content

Commit

Permalink
Use the perl helpers to manage coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
oalders committed May 13, 2017
1 parent 85ad690 commit 4c4aea9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Expand Up @@ -13,10 +13,13 @@ env:
# that the snapshot was built from.
- DEPLOYMENT_PERL_VERSION=5.22
matrix:
- USE_CPANFILE_SNAPSHOT=true
- COVERAGE=1 USE_CPANFILE_SNAPSHOT=true
- USE_CPANFILE_SNAPSHOT=false

before_install:
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
- source ~/travis-perl-helpers/init

- npm install -g less js-beautify
# Pre-install from backpan to avoid upgrade breakage.
- cpanm -n http://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/common-sense-3.6.tar.gz
Expand All @@ -29,7 +32,7 @@ install:
script:
# 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 -lr -j 2 t
- carton exec prove -lr -j$(test-jobs) t

after_success:
- cover -report coveralls
Expand Down

0 comments on commit 4c4aea9

Please sign in to comment.