Reorder toxenvs.
This commit is contained in:
48
tox.ini
48
tox.ini
@@ -9,30 +9,6 @@ deps =
|
|||||||
{[testenv:notpy34]deps}
|
{[testenv:notpy34]deps}
|
||||||
{[testenv:py34]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]
|
[testenv:py26]
|
||||||
deps =
|
deps =
|
||||||
{[testenv:notpy34]deps}
|
{[testenv:notpy34]deps}
|
||||||
@@ -65,6 +41,30 @@ deps =
|
|||||||
strict-rfc3339
|
strict-rfc3339
|
||||||
webcolors
|
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]
|
[flake8]
|
||||||
ignore = E203,E302,E303,E701,F811
|
ignore = E203,E302,E303,E701,F811
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user