2012-09-08 16:18:25 +02:00
|
|
|
[tox]
|
2013-05-29 01:44:55 +02:00
|
|
|
envlist =
|
2013-08-28 12:31:39 +02:00
|
|
|
collect,docs,py26,py27,py32,py33,pypy
|
2012-09-08 16:18:25 +02:00
|
|
|
|
|
|
|
[testenv]
|
2013-08-28 10:28:40 +02:00
|
|
|
deps =
|
2013-08-18 11:59:44 +02:00
|
|
|
pytest
|
2013-08-28 10:28:40 +02:00
|
|
|
pytest-xdist
|
2013-07-02 06:14:10 +02:00
|
|
|
mock
|
2013-08-22 04:10:04 +02:00
|
|
|
scripttest>=1.3
|
2013-07-02 06:14:10 +02:00
|
|
|
git+https://github.com/pypa/virtualenv@develop#egg=virtualenv
|
2013-08-28 10:28:40 +02:00
|
|
|
commands =
|
|
|
|
py.test -n 8
|
|
|
|
|
2013-08-28 12:24:25 +02:00
|
|
|
[testenv:collect]
|
|
|
|
commands =
|
|
|
|
py.test --collectonly
|
|
|
|
|
2013-08-28 12:31:39 +02:00
|
|
|
[testenv:docs]
|
|
|
|
deps = sphinx
|
|
|
|
basepython = python2.7
|
|
|
|
commands =
|
|
|
|
sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
|
|
|
|
|
2013-08-28 10:28:40 +02:00
|
|
|
[testenv:py32]
|
2013-09-05 16:39:03 +02:00
|
|
|
# python3.2 has an import concurrency problem
|
|
|
|
setenv =
|
|
|
|
PYTHONDONTWRITEBYTECODE=1
|
2013-07-02 06:14:10 +02:00
|
|
|
|
2013-08-28 10:28:40 +02:00
|
|
|
[testenv:py33]
|
|
|
|
setenv =
|
|
|
|
PYTHONHASHSEED = 0
|