attrs/tox.ini

32 lines
656 B
INI

[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
; [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
[testenv:manifest]
deps =
check-manifest
commands =
check-manifest