|
|
@@ -1,43 +1,34 @@ |
|
|
|
[tox] |
|
|
|
minversion=1.3 |
|
|
|
minversion = 1.3 |
|
|
|
envlist = py26,py27 |
|
|
|
#,py27 |
|
|
|
#,py27,py32 |
|
|
|
#,py27,py32 |
|
|
|
addopts = --ignore=setup.py --ignore=.tox --ignore=setuptools --ignore=third |
|
|
|
|
|
|
|
[pytest] |
|
|
|
rsyncdirs = scripts |
|
|
|
rsyncignore = .hg third |
|
|
|
addopts = -v -v |
|
|
|
- TOX_ENV=py26 |
|
|
|
- TOX_ENV=py27 |
|
|
|
- TOX_ENV=docs |
|
|
|
- TOX_ENV=flake8 |
|
|
|
|
|
|
|
[testenv:docs] |
|
|
|
downloadcache={toxworkdir}/downloadcache |
|
|
|
basepython=python |
|
|
|
changedir=doc |
|
|
|
deps=sphinx |
|
|
|
commands= |
|
|
|
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html |
|
|
|
|
|
|
|
[tools] |
|
|
|
downloadcache={toxworkdir}/downloadcache |
|
|
|
testing= |
|
|
|
deps= |
|
|
|
|
|
|
|
[testenv] |
|
|
|
downloadcache={toxworkdir}/downloadcache |
|
|
|
distribute=True |
|
|
|
sitepackages=False |
|
|
|
deps= |
|
|
|
pytest |
|
|
|
|
|
|
|
commands= |
|
|
|
py.test src |
|
|
|
#nosetests |
|
|
|
nosetests |
|
|
|
|
|
|
|
[testenv:py26] |
|
|
|
|
|
|
|
[testenv:py27] |
|
|
|
|
|
|
|
[testenv:docs] |
|
|
|
downloadcache={toxworkdir}/downloadcache |
|
|
|
deps= |
|
|
|
unittest2 |
|
|
|
basepython=python2.7 |
|
|
|
changedir=doc |
|
|
|
deps=sphinx |
|
|
|
commands= |
|
|
|
py.test src |
|
|
|
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html |
|
|
|
|
|
|
|
[testenv:flake8] |
|
|
|
basepython=python2.7 |
|
|
|
deps=flake8 |
|
|
|
commands= |
|
|
|
flake8 djohno |
|
|
|
|