summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorMaina Nick <nick.maina1@gmail.com>2018-11-03 01:27:33 +0300
committerJon Parise <jon@pinterest.com>2018-11-02 17:27:33 -0500
commit45fc36c201707f3ba83cc10f869e4924a62b7aee (patch)
tree31cadafab5356f054d4b80bab7d19349100b0939 /tox.ini
parent716ad75d4b13620003aa15e0036fef2e6ada2ed1 (diff)
downloadpymemcache-45fc36c201707f3ba83cc10f869e4924a62b7aee.tar.gz
Fixes tox six pkg ImportError #198 (#199)
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini7
1 files changed, 4 insertions, 3 deletions
diff --git a/tox.ini b/tox.ini
index ef53d48..37ab62e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -3,14 +3,15 @@ envlist = py27, py34, py35, py36, py37, pypy, pypy3, py27-flake8, py37-flake8, i
skip_missing_interpreters = True
[testenv]
+setenv =
+ PYTHONPATH = {toxinidir}
+deps = -r{toxinidir}/test-requirements.txt
commands =
- pip install -r test-requirements.txt
pip install -e .
py.test {posargs:pymemcache/test/}
[testenv:integration]
commands =
- pip install -r test-requirements.txt
pip install -e .
py.test {posargs:pymemcache/test/ -m integration}
@@ -28,6 +29,6 @@ commands =
[testenv:docs]
commands =
- pip install -r docs-requirements.txt -r test-requirements.txt
+ pip install -r docs-requirements.txt
sphinx-apidoc -o docs/apidoc/ pymemcache
sphinx-build -b html docs/ docs/_build