[tox]
minversion = 1.6
skipsdist = True
envlist = py27,py33,py34,py35,pypy,pep8,docs

[testenv]
deps = .[testing]
usedevelop = True
commands = py.test test
passenv = WSGI_INTERCEPT_*

[testenv:pep8]
deps = flake8
commands =
    flake8

[testenv:docs]
deps = .[docs]
commands =
    python setup.py build_sphinx
whitelist_externals =
    rm

[flake8]
exclude=.venv,.git,.tox,dist,*egg,*.egg-info,build,examples,docs
show-source = True

[tox]
minversion = 1.6
skipsdist = True
envlist = py27,py33,py34,py35,pypy,pep8,docs

[testenv]
deps = .[testing]
usedevelop = True
commands = py.test test
passenv = WSGI_INTERCEPT_*

[testenv:pep8]
deps = flake8
commands =
    flake8

[testenv:docs]
deps = .[docs,testing]
commands =
    python setup.py build_sphinx
whitelist_externals =
    rm

[flake8]
exclude=.venv,.git,.tox,dist,*egg,*.egg-info,build,examples,docs
show-source = True

Add testing requirements to docs environment
Add testing requirements to docs environment

This avoids noisy warnings when the docs are being built.
