diff options
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 16 |
1 files changed, 1 insertions, 15 deletions
@@ -1,5 +1,5 @@ [tox] -envlist = py27,py3,pep8 +envlist = py3,pep8 minversion = 3.18.0 skipsdist = True @@ -21,16 +21,13 @@ allowlist_externals = sh passenv = SWIFT_* *_proxy [testenv:pep8] -basepython = python3 commands = python -m flake8 swiftclient test [testenv:venv] -basepython = python3 commands = {posargs} [testenv:cover] -basepython = python3 setenv = PYTHON=coverage run --source swiftclient --parallel-mode commands = @@ -41,7 +38,6 @@ commands = coverage report [testenv:func] -basepython = python3 setenv = OS_TEST_PATH=test.functional PYTHON=coverage run --source swiftclient --parallel-mode @@ -56,14 +52,7 @@ commands = coverage report -m rm -f .coverage -[testenv:py2func] -basepython=python2 -setenv = {[testenv:func]setenv} -allowlist_externals = {[testenv:func]allowlist_externals} -commands = {[testenv:func]commands} - [testenv:docs] -basepython = python3 usedevelop = False deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -r{toxinidir}/doc/requirements.txt @@ -88,7 +77,6 @@ show-source = True exclude = .venv,.tox,dist,doc,*egg [testenv:bindep] -basepython = python3 # Do not install any requirements. We want this to be fast and work even if # system dependencies are missing, since it's used to tell you what system # dependencies are missing! This also means that bindep must be installed @@ -98,14 +86,12 @@ deps = bindep commands = bindep test [testenv:releasenotes] -basepython = python3 usedevelop = False deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -r{toxinidir}/doc/requirements.txt commands = sphinx-build -a -W -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html [testenv:pdf-docs] -basepython = python3 deps = {[testenv:docs]deps} allowlist_externals = make |