2016-06-05 00:54:28 +00:00
|
|
|
[tox]
|
2016-07-09 21:53:45 +00:00
|
|
|
envlist = py26, py27, pypy, py33, py34, py35
|
2016-06-05 00:54:28 +00:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
setenv =
|
2016-06-05 16:15:12 +00:00
|
|
|
PYTHONPATH = {toxinidir}:{toxinidir}/polyloader
|
2016-06-05 00:54:28 +00:00
|
|
|
deps =
|
|
|
|
-r{toxinidir}/requirements_dev.txt
|
|
|
|
commands =
|
2016-07-09 20:54:59 +00:00
|
|
|
{py27,py26,pypy}: py.test --basetemp={envtmpdir} ./tests_py2
|
|
|
|
{py33,py34,py35}: py.test --basetemp={envtmpdir} ./tests_py3
|
2016-06-05 00:54:28 +00:00
|
|
|
|
2016-07-01 05:11:10 +00:00
|
|
|
[flake8]
|
|
|
|
max-line-length = 99
|
2016-06-05 00:54:28 +00:00
|
|
|
|
|
|
|
; If you want to make tox run the tests with the same versions, create a
|
|
|
|
; requirements.txt with the pinned versions and uncomment the following lines:
|
|
|
|
; deps =
|
|
|
|
; -r{toxinidir}/requirements.txt
|