chore(tox): Cleanup tox.ini (#1017)

This commit is contained in:
Kurt Griffiths
2017-04-13 17:41:05 -06:00
committed by GitHub
parent 9cb4b24c83
commit b1e5e2c6f5

View File

@@ -24,11 +24,11 @@ commands = {toxinidir}/tools/clean.sh {toxinidir}/falcon
# --------------------------------------------------------------------
[with-coverage]
whitelist_externals = bash
whitelist_externals = mkdir
mv
commands = {toxinidir}/tools/clean.sh {toxinidir}/falcon
coverage run -m pytest tests []
bash -c "if [ ! -d .coverage_data ]; then mkdir .coverage_data; fi"
mkdir -p .coverage_data
mv {toxinidir}/.coverage {toxinidir}/.coverage_data/.coverage.{envname}
[testenv:py26]
@@ -153,7 +153,6 @@ commands = flake8 \
--application-import-names=falcon \
[]
# --------------------------------------------------------------------
# For viewing environ dicts generated by various WSGI servers
# --------------------------------------------------------------------
@@ -176,7 +175,6 @@ commands = python tests/dump_wsgi.py
basepython = python3.5
commands = python tests/dump_wsgi.py
# --------------------------------------------------------------------
# Benchmarking
# --------------------------------------------------------------------
@@ -244,9 +242,9 @@ commands = falcon-bench []
# --------------------------------------------------------------------
# Documentation
# --------------------------------------------------------------------
[testenv:docs]
basepython = python2.7
deps = -r{toxinidir}/tools/doc-requires
whitelist_externals = rm
commands =
sphinx-build -W -E -b html docs docs/_build/html []