Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
57 lines (49 sloc) 1.19 KB
[tox]
envlist = 26gevent, 27gevent, pypygevent, 33gevent, 34gevent
[testenv]
basepython = python2.7
commands = coverage run --source=goless,tests setup.py test
deps =
coverage
mock
nose
setenv =
GOLESS_BACKEND =
[testenv:26gevent]
basepython = python2.6
deps =
{[testenv]deps}
unittest2
[testenv:27gevent]
[testenv:pypygevent]
basepython = pypy
deps =
{[testenv]deps}
git+https://github.com/surfly/gevent.git#gevent-egg
setenv =
GOLESS_BACKEND = gevent
; See https://github.com/rgalanakis/goless/issues/21
; for why we need this hackery (waiting for new gevent version).
[testenv:33gevent]
basepython = python3.3
commands =
pip install git+https://github.com/surfly/gevent.git#gevent-egg
nosetests ./tests
deps =
{[testenv]deps}
cython
; Same as 33 gevent
[testenv:34gevent]
basepython = python3.4
commands =
pip install git+https://github.com/surfly/gevent.git#gevent-egg
nosetests ./tests
deps =
{[testenv]deps}
cython
; See https://github.com/rgalanakis/goless/issues/20
; for info about the Stackless Python (slp) environments.
[testenv:27slptravis]
basepython = {homedir}/stackless-2.7.6/bin/python
setenv =
GOLESS_BACKEND = stackless