From acd73fb28b639093154dd03a2bbab3ebd8864a2b Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Wed, 30 Mar 2016 00:24:04 +0200 Subject: Let's check that the cover_db was created, and also run as root --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index dd344b4..4c847f4 100644 --- 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' -- cgit v1.2.3