commit acd73fb28b639093154dd03a2bbab3ebd8864a2b
parent c87989448bd35f6b42005ea867f191dc69a47dd4
Author: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Date: Wed, 30 Mar 2016 00:24:04 +0200
Let's check that the cover_db was created, and also run as root
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
@@ -18,4 +18,4 @@ install:
- 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
+ - [ -e cover_db ] && bash -c 'COVER=`which cover`; sudo $COVER -report text'