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