diff --git a/tox.ini b/tox.ini index b8bb5745..77f297d9 100644 --- a/tox.ini +++ b/tox.ini @@ -11,6 +11,7 @@ setenv = deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt whitelist_externals = bash +commands = stestr run --black-regex ".tests.functional" {posargs} [tox:jenkins] downloadcache = ~/cache/pip @@ -23,15 +24,6 @@ commands = flake8 basepython = python3 commands = {posargs} -[testenv:py27] -commands = - stestr run --black-regex ".tests.functional" '{posargs}' - -[testenv:py35] -basepython = python3 -commands = - stestr run --black-regex ".tests.functional" '{posargs}' - [testenv:functional] basepython = python2.7 setenv = @@ -39,14 +31,6 @@ setenv = commands = stestr run --black-regex ".tests.unit" '{posargs}' -[testenv:cover] -basepython = python3 -commands = - coverage erase - python setup.py testr --coverage --testr-args='--concurrency=1 {posargs}' - coverage combine - coverage html --include='os_vif/*' -d covhtml -i - [testenv:docs] basepython = python3 commands = python setup.py build_sphinx @@ -91,5 +75,3 @@ deps = -c{toxinidir}/lower-constraints.txt -r{toxinidir}/test-requirements.txt -r{toxinidir}/requirements.txt -commands = - stestr run --black-regex ".tests.functional" '{posargs}'