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]
|
||||
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 []
|
||||
|
Reference in New Issue
Block a user