aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-03-30 21:52:23 +0200
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-03-30 21:52:23 +0200
commit693c7ec1f1fb0fe2193ad12751a92aac30706051 (patch)
tree0dec47fe6ea9454843be878e36882eab62f5ab27 /.travis.yml
parent56c6d7ecd5aa770e71ae913a0c55772580864ac1 (diff)
downloadsbotools-693c7ec1f1fb0fe2193ad12751a92aac30706051.tar.xz
Change where we put the PERL5OPT env variable, and don't give any argument to cover
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 6c2791b..c267240 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,5 +17,5 @@ install:
- sudo bash t/travis-deps/install.sh
- cpanm Text::Diff Capture::Tiny Test::Output Devel::Cover
script:
- - bash -c 'export PERL5OPT=-MDevel::Cover=-coverage,statement,branch,condition,path,subroutine,+ignore,t/,+ignore,prove,db,/home/travis/build/pink-mist/sbotools/cover_db; PROVE=`which prove`; sudo -E $PROVE -v t/*.t;'
- - bash -c 'COVER=`which cover`; sudo $COVER -report text || echo "Problem reading the cover_db."; exit 0'
+ - bash -c 'PROVE=`which prove`; sudo PERL5OPT=-MDevel::Cover=-coverage,statement,branch,condition,path,subroutine,+ignore,t/,+ignore,prove,db,/home/travis/build/pink-mist/sbotools/cover_db $PROVE -v t/*.t;'
+ - bash -c 'COVER=`which cover`; sudo $COVER || echo "Problem reading the cover_db."; exit 0'