summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2018-09-26 19:04:17 -0400
committerDoug Hellmann <doug@doughellmann.com>2018-09-26 19:04:17 -0400
commit028af44d3fff51fbea19df28737958564ed605f7 (patch)
treedc29a3ccdf7c702920c9fa16b381d3d76bb46145
parente3c05aabf5402e416462685f8281487933f8023b (diff)
fix tox python3 overridesHEADmaster
We want to default to running all tox environments under python 3, so set the basepython value in each environment. We do not want to specify a minor version number, because we do not want to have to update the file every time we upgrade python. We do not want to set the override once in testenv, because that breaks the more specific versions used in default environments like py35 and py36. Change-Id: I4c1e42cc69ad50264183635ae08de769358b36d5 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Notes
Notes (review): Code-Review+2: Alex Schultz <aschultz@redhat.com> Workflow+1: Alex Schultz <aschultz@redhat.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 08 Oct 2018 21:43:40 +0000 Reviewed-on: https://review.openstack.org/607755 Project: openstack/tripleo-common-tempest-plugin Branch: refs/heads/master
-rw-r--r--tox.ini3
1 files changed, 3 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index d9512b8..a9b797c 100644
--- a/tox.ini
+++ b/tox.ini
@@ -14,6 +14,7 @@ commands =
14whitelist_externals = find 14whitelist_externals = find
15 15
16[testenv:pep8] 16[testenv:pep8]
17basepython = python3
17commands = 18commands =
18 flake8 tripleo_common_tempest_plugin 19 flake8 tripleo_common_tempest_plugin
19 check-uuid --package tripleo_common_tempest_plugin 20 check-uuid --package tripleo_common_tempest_plugin
@@ -23,9 +24,11 @@ commands =
23 check-uuid --package tripleo_common_tempest_plugin --fix 24 check-uuid --package tripleo_common_tempest_plugin --fix
24 25
25[testenv:venv] 26[testenv:venv]
27basepython = python3
26commands = {posargs} 28commands = {posargs}
27 29
28[testenv:releasenotes] 30[testenv:releasenotes]
31basepython = python3
29commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html 32commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
30 33
31[flake8] 34[flake8]