diff --git a/tox.ini b/tox.ini index 0d7ddec..245f66e 100644 --- a/tox.ini +++ b/tox.ini @@ -9,30 +9,6 @@ deps = {[testenv:notpy34]deps} {[testenv:py34]deps} -[testenv:coverage] -commands = - coverage run --branch --source jsonschema [] {envbindir}/py.test - coverage report --show-missing - coverage html -deps = - {[testenv:notpy34]deps} - {[testenv:py34]deps} - coverage - -[testenv:docs] -basepython = python -changedir = docs -deps = - lxml - sphinx -commands = - sphinx-build [] -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html - -[testenv:style] -deps = flake8 -commands = - flake8 [] --max-complexity 10 jsonschema - [testenv:py26] deps = {[testenv:notpy34]deps} @@ -65,6 +41,30 @@ deps = strict-rfc3339 webcolors +[testenv:coverage] +commands = + coverage run --branch --source jsonschema [] {envbindir}/py.test jsonschema + coverage report --show-missing + coverage html +deps = + {[testenv:notpy34]deps} + {[testenv:py34]deps} + coverage + +[testenv:docs] +basepython = python +changedir = docs +deps = + lxml + sphinx +commands = + sphinx-build [] -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html + +[testenv:style] +deps = flake8 +commands = + flake8 [] --max-complexity 10 jsonschema + [flake8] ignore = E203,E302,E303,E701,F811