summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Gordon <jogo@pinterest.com>2016-11-01 11:10:31 -0700
committerJoe Gordon <jogo@pinterest.com>2016-11-03 09:53:01 -0700
commitc33a5363d55f4de6448c9122f63293b1e45e0130 (patch)
tree6978d8fe0bd0c53483eb24895c23975b48d252e7
parent487a94fe11917d970cbde3d40529df7b96cdff4e (diff)
downloadpymemcache-c33a5363d55f4de6448c9122f63293b1e45e0130.tar.gz
Add integration environment to tox
Make it easier to run integration tests. Travis already runs these as defined by .travis.yml Integration tests require memecached running otherwise they will fail.
-rw-r--r--tox.ini8
1 files changed, 7 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 9ddd35c..42174ff 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py26, py27, pypy, pypy3, py33, py34, py35, docs, py27-flake8, py35-flake8
+envlist = py26, py27, pypy, pypy3, py33, py34, py35, docs, py27-flake8, py35-flake8, integration
skip_missing_interpreters = True
[testenv]
@@ -8,6 +8,12 @@ commands =
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}
+
[testenv:py27-flake8]
commands =
pip install flake8