diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-03-30 00:24:04 +0200 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-03-30 00:24:04 +0200 |
commit | acd73fb28b639093154dd03a2bbab3ebd8864a2b (patch) | |
tree | 9e1f3203d242018d709863211c9504e8852bfb49 | |
parent | c87989448bd35f6b42005ea867f191dc69a47dd4 (diff) | |
download | sbotools2-acd73fb28b639093154dd03a2bbab3ebd8864a2b.tar.xz |
Let's check that the cover_db was created, and also run as root
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
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' |