commit 01b447f090512a8beb15d64e32b9b2c50fde767f Author: juga0 juga@riseup.net Date: Fri Sep 14 10:24:22 2018 +0000
Reorder environments --- tox.ini | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/tox.ini b/tox.ini index 132e904..d05e416 100644 --- a/tox.ini +++ b/tox.ini @@ -7,11 +7,12 @@ python = 3.5: lint, py35, integration 3.6: py36, integration
-[testenv:clean] -skip_install = True -changedir={toxinidir} -deps = coverage -command = coverage erase +[testenv] +install_command = pip install --process-dependency-links {opts} {packages} +deps = .[test] +commands = + coverage run -a --rcfile={toxinidir}/.coveragerc --source=sbws -m pytest \ + -s {toxinidir}/tests/unit -vv
[testenv:integration] ignore_errors = True @@ -36,6 +37,12 @@ skip_install = True deps = .[dev] commands = flake8 sbws scripts tests
+[testenv:clean] +skip_install = True +changedir={toxinidir} +deps = coverage +command = coverage erase + [testenv:stats] skip_install = True changedir={toxinidir} @@ -46,13 +53,6 @@ commands= coverage report coverage html
-[testenv] -install_command = pip install --process-dependency-links {opts} {packages} -deps = .[test] -commands = - coverage run -a --rcfile={toxinidir}/.coveragerc --source=sbws -m pytest -s {toxinidir}/tests/unit -vv - - [testenv:doc] deps = .[doc] whitelist_externals = make