1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
[pytest]
addopts=--tb=short
[tox]
envlist = py27,py35,isort-check,isort-fix,lint,docs
skipsdist = true
[testenv]
commands =
py.test tests --cov-report=term-missing --cov-report=html --cov-report=xml --cov-append --cov=etcd_settings -s {posargs}
deps =
-rrequirements/requirements-base.txt
-rrequirements/requirements-testing.txt
[testenv:lint]
commands = flake8 etcd_settings tests
deps = flake8
[testenv:docs]
commands =
sphinx-build -W -b html {toxinidir}/docs {toxinidir}/docs/_build/html
deps =
-rrequirements/requirements-testing.txt
[testenv:isort-check]
commands = isort -rc -c etcd_settings tests
deps = isort
[testenv:isort-fix]
commands = isort -rc etcd_settings tests
deps = isort
|