2012-09-08 16:18:25 +02:00
|
|
|
[tox]
|
2013-05-29 01:44:55 +02:00
|
|
|
envlist =
|
2014-09-29 17:07:24 +02:00
|
|
|
docs,packaging,pep8,py3pep8,py26,py27,py32,py33,py34,pypy
|
2012-09-08 16:18:25 +02:00
|
|
|
|
|
|
|
[testenv]
|
2013-08-28 10:28:40 +02:00
|
|
|
deps =
|
2014-09-19 10:54:23 +02:00
|
|
|
https://github.com/spulec/freezegun/archive/master.zip#egg=freezegun
|
2014-04-24 13:29:57 +02:00
|
|
|
pretend
|
2013-08-18 11:59:44 +02:00
|
|
|
pytest
|
2014-08-31 01:52:28 +02:00
|
|
|
pytest-capturelog
|
2014-07-01 02:58:56 +02:00
|
|
|
pytest-cov
|
2014-07-01 02:22:14 +02:00
|
|
|
pytest-timeout
|
2014-04-26 04:45:07 +02:00
|
|
|
pytest-xdist
|
2013-07-02 06:14:10 +02:00
|
|
|
mock
|
2013-08-22 04:10:04 +02:00
|
|
|
scripttest>=1.3
|
2014-04-26 06:19:48 +02:00
|
|
|
https://github.com/pypa/virtualenv/archive/develop.zip#egg=virtualenv
|
2014-04-26 06:32:27 +02:00
|
|
|
commands =
|
2014-07-01 05:31:27 +02:00
|
|
|
py.test --timeout 300 []
|
2014-10-17 15:51:54 +02:00
|
|
|
install_command =
|
|
|
|
python -m pip install --pre {opts} {packages}
|
2014-04-26 06:32:27 +02:00
|
|
|
|
2014-10-17 18:35:39 +02:00
|
|
|
[testenv:py26]
|
|
|
|
install_command =
|
|
|
|
pip install --pre {opts} {packages}
|
|
|
|
|
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
|
2014-01-27 14:29:29 +01:00
|
|
|
|
2014-09-29 17:07:24 +02:00
|
|
|
[testenv:packaging]
|
|
|
|
deps = check-manifest
|
|
|
|
commands =
|
|
|
|
check-manifest
|
|
|
|
|
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
|
2014-02-24 22:52:23 +01:00
|
|
|
select = E,W,F
|