Use pytest coverage.

This commit is contained in:
Michael Lazar
2016-08-11 01:48:03 -07:00
parent 7c2fcade83
commit 38d45dc1b6

View File

@@ -5,11 +5,11 @@ python:
- "3.4" - "3.4"
- "3.5" - "3.5"
before_install: before_install:
- pip install coveralls pytest pytest-xdist coverage mock pylint vcrpy - pip install coveralls pytest pytest-xdist pytest-cov mock pylint vcrpy
install: install:
- pip install . - pip install .
script: script:
- pylint --rcfile .pylintrc -E rtv/ - pylint --rcfile .pylintrc -E rtv/
- coverage run -m py.test -v -n 4 - py.test -v --cov rtv -n 4
after_success: after_success:
- coveralls - coveralls