Really run on the installed package.
This commit is contained in:
6
tox.ini
6
tox.ini
@@ -4,8 +4,10 @@ envlist = py{26,27,34,py,py3}, docs, style
|
|||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
changedir = {envtmpdir}
|
changedir = {envtmpdir}
|
||||||
|
setenv =
|
||||||
|
JSON_SCHEMA_TEST_SUITE = {toxinidir}/json
|
||||||
commands =
|
commands =
|
||||||
green [] {toxinidir}/jsonschema
|
green [] jsonschema
|
||||||
{envpython} -m doctest {toxinidir}/README.rst
|
{envpython} -m doctest {toxinidir}/README.rst
|
||||||
py{26,27,34}: sphinx-build -b doctest {toxinidir}/docs {envtmpdir}/html
|
py{26,27,34}: sphinx-build -b doctest {toxinidir}/docs {envtmpdir}/html
|
||||||
deps =
|
deps =
|
||||||
@@ -23,7 +25,7 @@ deps =
|
|||||||
|
|
||||||
[testenv:coverage]
|
[testenv:coverage]
|
||||||
commands =
|
commands =
|
||||||
coverage run --branch --source {toxinidir}/jsonschema [] {envbindir}/green {toxinidir}/jsonschema
|
coverage run --branch --source {toxinidir}/jsonschema [] {envbindir}/green jsonschema
|
||||||
coverage report --show-missing
|
coverage report --show-missing
|
||||||
coverage html
|
coverage html
|
||||||
deps =
|
deps =
|
||||||
|
Reference in New Issue
Block a user