diff options
author | andy <andy@whiskeymedia.com> | 2013-06-08 13:16:11 -0700 |
---|---|---|
committer | andy <andy@whiskeymedia.com> | 2013-06-08 13:16:11 -0700 |
commit | fb61631253644a8b3394748bb9f4ade9cbdbf08e (patch) | |
tree | 43a3bb453fa25a5a1363a66e94a7cc59266b300b | |
parent | 7c69f35a83b30cc394bc019b71838dc909c39635 (diff) | |
download | redis-py-pytest.tar.gz |
updated tox config for pytestpytest
-rw-r--r-- | tox.ini | 39 |
1 files changed, 30 insertions, 9 deletions
@@ -2,23 +2,44 @@ envlist = py25, py26, py27, py32, py33, hi26, hi27, hi32, hi33, pep8 [testenv] -commands = python setup.py test +deps=pytest +commands = py.test [] +downloadcache = {toxworkdir}/cache + +[testenv:py25] +downloadcache = {toxworkdir}/cache +setenv = + PIP_INSECURE=1 +deps = + pytest [testenv:hi26] -deps = hiredis -commands = python setup.py test +downloadcache = {toxworkdir}/cache +deps = + hiredis + pytest +commands = py.test [] [testenv:hi27] -deps = hiredis -commands = python setup.py test +downloadcache = {toxworkdir}/cache +deps = + hiredis + pytest +commands = py.test [] [testenv:hi32] -deps = hiredis -commands = python setup.py test +downloadcache = {toxworkdir}/cache +deps = + hiredis + pytest +commands = py.test [] [testenv:hi33] -deps = hiredis -commands = python setup.py test +downloadcache = {toxworkdir}/cache +deps = + hiredis + pytest +commands = py.test [] [testenv:pep8] deps = pep8 |