diff options
Diffstat (limited to 'tosca2heat/tosca-parser/tox.ini')
-rw-r--r-- | tosca2heat/tosca-parser/tox.ini | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tosca2heat/tosca-parser/tox.ini b/tosca2heat/tosca-parser/tox.ini index 3603a18..1e27f3f 100644 --- a/tosca2heat/tosca-parser/tox.ini +++ b/tosca2heat/tosca-parser/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 2.0 -envlist = py27,pep8 +envlist = pep8,py27,cover skipsdist = True [testenv] @@ -19,7 +19,10 @@ commands = flake8 commands = {posargs} [testenv:cover] -commands = python setup.py testr --coverage --coverage-package-name=toscaparser --testr-args='{posargs}' +commands = + coverage erase + python setup.py test --coverage --coverage-package-name=toscaparser --testr-args='{posargs}' + coverage report [testenv:docs] commands = python setup.py build_sphinx |