From c33a5363d55f4de6448c9122f63293b1e45e0130 Mon Sep 17 00:00:00 2001 From: Joe Gordon Date: Tue, 1 Nov 2016 11:10:31 -0700 Subject: 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. --- tox.ini | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1