diff options
author | Joe Gordon <jogo@pinterest.com> | 2016-11-01 11:10:31 -0700 |
---|---|---|
committer | Joe Gordon <jogo@pinterest.com> | 2016-11-03 09:53:01 -0700 |
commit | c33a5363d55f4de6448c9122f63293b1e45e0130 (patch) | |
tree | 6978d8fe0bd0c53483eb24895c23975b48d252e7 | |
parent | 487a94fe11917d970cbde3d40529df7b96cdff4e (diff) | |
download | pymemcache-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.ini | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 |