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