summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2017-10-19 20:06:10 +0200
committerJulian Berman <Julian@GrayVines.com>2017-10-19 20:06:10 +0200
commit9d007d4f834cf3af22715a1d40f675b4ab964ae1 (patch)
tree543c642d6ad85171a764b17af5f336fcd27c2f1e
parent86cb487e5b174ae0180e71709afe661b1cc78ea0 (diff)
downloadjsonschema-9d007d4f834cf3af22715a1d40f675b4ab964ae1.tar.gz
A test-requirements.txt
-rw-r--r--test-requirements.txt4
-rw-r--r--tox.ini8
2 files changed, 6 insertions, 6 deletions
diff --git a/test-requirements.txt b/test-requirements.txt
new file mode 100644
index 0000000..8db0aa2
--- /dev/null
+++ b/test-requirements.txt
@@ -0,0 +1,4 @@
+attrs
+betterpath
+mock
+pyrsistent
diff --git a/tox.ini b/tox.ini
index e360c25..b1dcb09 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,7 +1,6 @@
[tox]
envlist = py{27,33,34,35,36,py}, docs, style
-
[testenv]
setenv =
JSON_SCHEMA_TEST_SUITE = {toxinidir}/json
@@ -27,11 +26,11 @@ commands =
sh -c '{envbindir}/pip install --quiet --upgrade --force-reinstall {envtmpdir}/sdist/jsonschema*.zip'
deps =
-e{toxinidir}[format]
+ -r{toxinidir}/test-requirements.txt
py{27,35,py,py3},coverage: twisted
coverage: coverage
-
- py{27,py,py3},coverage: mock
+ perf: perf
py{27,35}: lxml
py{27,35,py}: sphinx
@@ -55,9 +54,6 @@ commands =
[testenv:perf]
basepython = pypy
-deps =
- -e{toxinidir}[format]
- perf
commands =
{envpython} {toxinidir}/benchmarks/test_suite.py