attrs/tox.ini

40 lines
773 B
INI
Raw Normal View History

2015-01-27 16:53:17 +00:00
[tox]
2015-01-28 15:28:47 +00:00
envlist = py26, py27, py33, py34, pypy, flake8, manifest, docs
2015-01-27 16:53:17 +00:00
[testenv]
passenv = TERM # ensure colors
2015-01-27 16:53:17 +00:00
deps =
coverage
pytest>=2.7.2 # see https://github.com/hynek/attrs/issues/14
zope.interface
2015-01-27 16:53:17 +00:00
commands =
coverage run {envbindir}/py.test tests
coverage report -m
2015-01-27 16:53:17 +00:00
2015-01-27 16:53:17 +00:00
[testenv:flake8]
basepython = python2.7
deps =
flake8
2015-08-11 09:16:21 +00:00
commands = flake8 attr tests setup.py
2015-01-27 16:53:17 +00:00
2015-01-27 21:41:24 +00:00
[testenv:docs]
basepython = python2.7
setenv =
PYTHONHASHSEED = 0
deps =
sphinx
2015-01-29 18:04:23 +00:00
zope.interface
2015-01-27 21:41:24 +00:00
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
sphinx-build -W -b doctest -d {envtmpdir}/doctrees docs docs/_build/html
2015-01-29 22:16:07 +00:00
python -m doctest README.rst
2015-01-27 16:53:17 +00:00
2015-01-27 16:53:17 +00:00
[testenv:manifest]
deps =
check-manifest
commands =
check-manifest