chore(tox): Cleanup tox.ini (#1017)
This commit is contained in:
8
tox.ini
8
tox.ini
@@ -24,11 +24,11 @@ commands = {toxinidir}/tools/clean.sh {toxinidir}/falcon
|
|||||||
# --------------------------------------------------------------------
|
# --------------------------------------------------------------------
|
||||||
|
|
||||||
[with-coverage]
|
[with-coverage]
|
||||||
whitelist_externals = bash
|
whitelist_externals = mkdir
|
||||||
mv
|
mv
|
||||||
commands = {toxinidir}/tools/clean.sh {toxinidir}/falcon
|
commands = {toxinidir}/tools/clean.sh {toxinidir}/falcon
|
||||||
coverage run -m pytest tests []
|
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}
|
mv {toxinidir}/.coverage {toxinidir}/.coverage_data/.coverage.{envname}
|
||||||
|
|
||||||
[testenv:py26]
|
[testenv:py26]
|
||||||
@@ -153,7 +153,6 @@ commands = flake8 \
|
|||||||
--application-import-names=falcon \
|
--application-import-names=falcon \
|
||||||
[]
|
[]
|
||||||
|
|
||||||
|
|
||||||
# --------------------------------------------------------------------
|
# --------------------------------------------------------------------
|
||||||
# For viewing environ dicts generated by various WSGI servers
|
# For viewing environ dicts generated by various WSGI servers
|
||||||
# --------------------------------------------------------------------
|
# --------------------------------------------------------------------
|
||||||
@@ -176,7 +175,6 @@ commands = python tests/dump_wsgi.py
|
|||||||
basepython = python3.5
|
basepython = python3.5
|
||||||
commands = python tests/dump_wsgi.py
|
commands = python tests/dump_wsgi.py
|
||||||
|
|
||||||
|
|
||||||
# --------------------------------------------------------------------
|
# --------------------------------------------------------------------
|
||||||
# Benchmarking
|
# Benchmarking
|
||||||
# --------------------------------------------------------------------
|
# --------------------------------------------------------------------
|
||||||
@@ -244,9 +242,9 @@ commands = falcon-bench []
|
|||||||
# --------------------------------------------------------------------
|
# --------------------------------------------------------------------
|
||||||
# Documentation
|
# Documentation
|
||||||
# --------------------------------------------------------------------
|
# --------------------------------------------------------------------
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
basepython = python2.7
|
basepython = python2.7
|
||||||
deps = -r{toxinidir}/tools/doc-requires
|
deps = -r{toxinidir}/tools/doc-requires
|
||||||
whitelist_externals = rm
|
|
||||||
commands =
|
commands =
|
||||||
sphinx-build -W -E -b html docs docs/_build/html []
|
sphinx-build -W -E -b html docs docs/_build/html []
|
||||||
|
|||||||
Reference in New Issue
Block a user