Add code coverage to tox

This commit is contained in:
José Armando García Sancio
2015-01-21 16:31:20 +00:00
parent 8349692faf
commit 11fa8dd402

View File

@@ -4,10 +4,11 @@ envlist = py27,py34
[testenv] [testenv]
deps = deps =
pytest pytest
pytest-cov
flake8 flake8
isort isort
commands = commands =
flake8 dcos tests flake8 dcos tests
isort -rc -c -vb dcos tests isort -rc -c -vb {envsitepackagesdir}/dcos
py.test tests py.test --cov {envsitepackagesdir}/dcos tests