summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-09-27 02:00:05 +0000
committerGerrit Code Review <review@openstack.org>2018-09-27 02:00:05 +0000
commit2fca5dc390f8d7b4ed2320b2f3dd9e505c690e6a (patch)
tree1b7bfc5b9dea730896b4119e5acd31a41c1bce18
parent70e20b62e6719c97267aa0e5a80dae2e31dfba76 (diff)
parent37ee6459cd2bb0197637f6d38e454bfe59192637 (diff)
downloadpython-swiftclient-2fca5dc390f8d7b4ed2320b2f3dd9e505c690e6a.tar.gz
Merge "fix tox python3 overrides"
-rw-r--r--tox.ini7
1 files changed, 7 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 660248b..ec7d344 100644
--- a/tox.ini
+++ b/tox.ini
@@ -22,17 +22,21 @@ whitelist_externals = sh
passenv = SWIFT_* *_proxy
[testenv:pep8]
+basepython = python3
commands =
python -m flake8 swiftclient tests
[testenv:venv]
+basepython = python3
commands = {posargs}
[testenv:cover]
+basepython = python3
commands = python setup.py testr --coverage
coverage report
[testenv:func]
+basepython = python3
setenv = OS_TEST_PATH=tests.functional
whitelist_externals =
coverage
@@ -43,6 +47,7 @@ commands =
rm -f .coverage
[testenv:docs]
+basepython = python3
commands=
python setup.py build_sphinx
@@ -60,6 +65,7 @@ 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
@@ -69,6 +75,7 @@ deps = bindep
commands = bindep test
[testenv:releasenotes]
+basepython = python3
commands = sphinx-build -a -W -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[testenv:lower-constraints]