2015-01-27 16:53:17 +00:00
|
|
|
[tox]
|
|
|
|
envlist = py26, py27, py33, py34, pypy, flake8, manifest
|
|
|
|
|
|
|
|
[testenv]
|
|
|
|
deps =
|
|
|
|
setuptools>=7.0 # to avoid .egg directories
|
|
|
|
pytest-cov
|
|
|
|
commands =
|
|
|
|
python setup.py test -a "--cov attr --cov-report term-missing"
|
|
|
|
|
|
|
|
[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
|
|
|
|
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-27 16:53:17 +00:00
|
|
|
|
|
|
|
[testenv:manifest]
|
|
|
|
deps =
|
|
|
|
check-manifest
|
|
|
|
commands =
|
|
|
|
check-manifest
|