attrs/tox.ini

38 lines
718 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]
deps =
setuptools>=7.0 # to avoid .egg directories
pytest-cov
py26: argparse
2015-01-27 16:53:17 +00:00
commands =
python setup.py test -a "--cov attr --cov-report term-missing"
2015-01-27 16:53:17 +00:00
[testenv:flake8]
basepython = python2.7
deps =
flake8
commands = flake8 attr tests
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