diff options
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 21 |
1 files changed, 14 insertions, 7 deletions
@@ -14,7 +14,13 @@ install_command = pip install -U {opts} {packages} deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = - py.test --basetemp={envtmpdir} --ignore=cvp {posargs} + py.test \ + --basetemp={envtmpdir} \ + --cov=dovetail \ + --cov-report term-missing \ + --cov-report xml \ + --ignore=cvp \ + {posargs} setenv = VIRTUAL_ENV={envdir} HOME = {envtmpdir} @@ -24,14 +30,8 @@ whitelist_externals = wget echo [testenv:pep8] -deps = flake8 commands = flake8 {toxinidir} -[testenv:py27-cover] -commands = python setup.py testr --coverage \ - --omit='{toxinidir}/dovetail/tests*' \ - --testr-args='{posargs}' - [flake8] show-source = True ignore = E123,E125,H803,E722,W503 @@ -47,3 +47,10 @@ whitelist_externals = echo [testenv:docs-linkcheck] deps = -rdocs/requirements.txt commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck + +[testenv:yamllint] +basepython = python2.7 +files = + etc +commands = + yamllint -s {[testenv:yamllint]files} |