Merge "fix tox python3 overrides"
This commit is contained in:
7
tox.ini
7
tox.ini
@@ -22,17 +22,21 @@ whitelist_externals = sh
|
|||||||
passenv = SWIFT_* *_proxy
|
passenv = SWIFT_* *_proxy
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
|
basepython = python3
|
||||||
commands =
|
commands =
|
||||||
python -m flake8 swiftclient tests
|
python -m flake8 swiftclient tests
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
|
basepython = python3
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
|
basepython = python3
|
||||||
commands = python setup.py testr --coverage
|
commands = python setup.py testr --coverage
|
||||||
coverage report
|
coverage report
|
||||||
|
|
||||||
[testenv:func]
|
[testenv:func]
|
||||||
|
basepython = python3
|
||||||
setenv = OS_TEST_PATH=tests.functional
|
setenv = OS_TEST_PATH=tests.functional
|
||||||
whitelist_externals =
|
whitelist_externals =
|
||||||
coverage
|
coverage
|
||||||
@@ -43,6 +47,7 @@ commands =
|
|||||||
rm -f .coverage
|
rm -f .coverage
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
|
basepython = python3
|
||||||
commands=
|
commands=
|
||||||
python setup.py build_sphinx
|
python setup.py build_sphinx
|
||||||
|
|
||||||
@@ -60,6 +65,7 @@ show-source = True
|
|||||||
exclude = .venv,.tox,dist,doc,*egg
|
exclude = .venv,.tox,dist,doc,*egg
|
||||||
|
|
||||||
[testenv:bindep]
|
[testenv:bindep]
|
||||||
|
basepython = python3
|
||||||
# Do not install any requirements. We want this to be fast and work even if
|
# 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
|
# system dependencies are missing, since it's used to tell you what system
|
||||||
# dependencies are missing! This also means that bindep must be installed
|
# dependencies are missing! This also means that bindep must be installed
|
||||||
@@ -69,6 +75,7 @@ deps = bindep
|
|||||||
commands = bindep test
|
commands = bindep test
|
||||||
|
|
||||||
[testenv:releasenotes]
|
[testenv:releasenotes]
|
||||||
|
basepython = python3
|
||||||
commands = sphinx-build -a -W -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
commands = sphinx-build -a -W -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||||
|
|
||||||
[testenv:lower-constraints]
|
[testenv:lower-constraints]
|
||||||
|
Reference in New Issue
Block a user