Really run on the installed package.

This commit is contained in:
Julian Berman 2015-03-15 12:24:33 -04:00
parent e5664b639f
commit 159dd1f0ea
No known key found for this signature in database
GPG Key ID: 3F8D9C8C011729F8
1 changed files with 4 additions and 2 deletions

View File

@ -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 =