diff options
-rw-r--r-- | .travis.yml | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/.travis.yml b/.travis.yml index 9cd55f8..dd344b4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,11 +15,7 @@ env: sudo: required install: - sudo bash t/travis-deps/install.sh - - cpanm Text::Diff Capture::Tiny Test::Output -script: bash -c 'PROVE=`which prove`; sudo $PROVE -v t/*.t' -notifications: - irc: - channels: - - "chat.freenode.net#sbotools" - on_success: change - on_failure: change + - cpanm Text::Diff Capture::Tiny Test::Output Devel::Cover +script: + - bash -c 'export PERL5OPT=-MDevel::Cover=-coverage,statement,branch,condition,path,subroutine; PROVE=`which prove`; sudo -E $PROVE -v t/*.t;' + - cover -report text |