Skip to content

Commit

Permalink
send coverage data to coveralls.io
Browse files Browse the repository at this point in the history
  • Loading branch information
freyfogle committed Oct 28, 2019
1 parent 2f1c6d6 commit d89d46c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,21 @@ before_install:
# https://docs.travis-ci.com/user/common-build-problems/#Git-Submodules-are-not-updated-correctly
#
# get the perl modules we need
#
# install dist development dependencies
- "cpanm Dist::Zilla"
- "dzil authordeps | xargs cpanm"
- "export tmpbuild=`mktemp --directory`"
- "dzil build --in $tmpbuild"
# for reporting to coveralls.io
- "cpanm --quiet --notest Devel::Cover::Report::Coveralls"
install: "dzil listdeps | xargs cpanm"
script: "dzil test --author"
script:
- "dzil test --author"
- PERL5OPT=-MDevel::Cover=-coverage,statement,branch,condition,path,subroutine prove -lrsv t
- cover
after_success:
- cover -report coveralls
notifications:
email:
on_failure: always
Expand Down

0 comments on commit d89d46c

Please sign in to comment.