BLD: Add coverage integration.

This commit is contained in:
Thomas Wiecki committed 2014-06-18 19:59:06 +02:00
1 parent ff11628cd3
commit d4e05090a3
2 files changed
+6 -1

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
[report]
omit =
*/python?.?/*
*/site-packages/nose/*
+2 -1
View File
@@ -19,7 +19,8 @@ install:
- grep nose== etc/requirements_dev.txt | xargs pip install
- grep nose-parameterized== etc/requirements_dev.txt | xargs pip install
- grep nose-ignore-docstring== etc/requirements_dev.txt | xargs pip install
- pip install coveralls
before_script:
- "flake8 zipline tests"
script:
- nosetests --exclude=^test_examples
- nosetests --exclude=^test_examples --with-coverage --cover-package=zipline