aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-03-31 16:45:16 +0200
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-03-31 16:45:16 +0200
commitf5acff433cc423d5efe88510cf5076800251fc27 (patch)
treec55f04e47721ff13754f1a54773ad6107c169b8b /.travis.yml
parentdaf11fcacef9af4c600a18100fae735bdb1d3523 (diff)
downloadsbotools-f5acff433cc423d5efe88510cf5076800251fc27.tar.xz
Tar up the cover_db and only upload it
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 9de04c0..4f4f7af 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -19,6 +19,7 @@ install:
script:
- 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'
- - mv cover_db "cover_db-$TRAVIS_JOB_NUMBER"
+ - sudo chmod -R a+x cover_db; "tar cvf cover_db-${TRAVIS_JOB_NUMBER}.tar" cover_db
addons:
- artifacts: true
+ artifacts:
+ paths: cover_db-${TRAVIS_JOB_NUMBER}.tar