From 8a371dea56b501067acaea1b89aecbd697196520 Mon Sep 17 00:00:00 2001 From: Viktor Stanchev Date: Wed, 16 Sep 2015 23:49:18 -0700 Subject: [PATCH] configure cover better --- .coveragerc | 7 +++++++ circle.yml | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .coveragerc diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..9ad62d0 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,7 @@ +[run] +branch = True +[report] +include = /home/ubuntu/pirate-get/* +omit = */tests/*,*__init__* +[html] +directory = /home/ubuntu/pirate-get/htmlcov/ diff --git a/circle.yml b/circle.yml index 034e261..64559fb 100644 --- a/circle.yml +++ b/circle.yml @@ -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