1
0
mirror of https://github.com/vikstrous/pirate-get synced 2025-01-09 09:59:51 +01:00

configure cover better

This commit is contained in:
Viktor Stanchev 2015-09-16 23:49:18 -07:00
parent 07ad7e33e6
commit 8a371dea56
2 changed files with 8 additions and 1 deletions

7
.coveragerc Normal file
View File

@ -0,0 +1,7 @@
[run]
branch = True
[report]
include = /home/ubuntu/pirate-get/*
omit = */tests/*,*__init__*
[html]
directory = /home/ubuntu/pirate-get/htmlcov/

View File

@ -10,6 +10,6 @@ test:
- coverage run -m unittest discover
post:
- mkdir -p $CIRCLE_ARTIFACTS/coverage
- cd /home/ubuntu/pirate-get && coverage html --include=`pwd`* --omit="*/tests/*,*__init__*"
- cd /home/ubuntu/pirate-get && coverage html
- cp -R /home/ubuntu/pirate-get/htmlcov/* $CIRCLE_ARTIFACTS/coverage
- coveralls