pip/tox.ini

35 lines
596 B
INI
Raw Normal View History

2012-09-08 16:18:25 +02:00
[tox]
2013-05-29 01:44:55 +02:00
envlist =
2014-01-27 20:40:32 +01:00
docs,pep8,py3pep8,py26,py27,py32,py33,pypy
2012-09-08 16:18:25 +02:00
[testenv]
deps =
pytest
pytest-xdist
mock
scripttest>=1.3
https://github.com/pypa/virtualenv/archive/develop.zip#egg=virtualenv
commands =
py.test -n 8 []
[testenv:docs]
deps = sphinx
basepython = python2.7
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
2014-01-27 14:29:29 +01:00
2014-01-27 20:40:32 +01:00
[testenv:pep8]
basepython = python2.7
deps = flake8
2014-01-28 18:00:00 +01:00
commands = flake8 .
2014-01-27 20:40:32 +01:00
[testenv:py3pep8]
basepython = python3.3
deps = flake8
2014-01-28 18:00:00 +01:00
commands = flake8 .
2014-01-27 20:40:32 +01:00
2014-01-27 14:29:29 +01:00
[flake8]
2014-01-28 17:58:59 +01:00
exclude = .tox,*.egg,build,_vendor,data
select = E,W,F