summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyen Hung Phuong <phuongnh@vn.fujitsu.com>2018-07-03 11:50:57 +0700
committerNguyen Hung Phuong <phuongnh@vn.fujitsu.com>2018-07-03 11:52:06 +0700
commit79b27e6502c7ff41af30662cf740275b9a52812e (patch)
tree43f9e91c0c15ef8afa0de9e63214086916024785
parent9dddf3310369b8cfc47d0995619a016f40ea2fc5 (diff)
fix tox python3 overrides
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: I225b740cd85207e2785ab60ba7e626a773617b0c
Notes
Notes (review): Code-Review+1: Piotr Bielak <piotr.bielak@corp.ovh.com> Code-Review+2: Sean McGinnis <sean.mcginnis@gmail.com> Code-Review+1: Nguyen Hai <nguyentrihai93@gmail.com> Code-Review+2: Brian Rosmaita <rosmaita.fossdev@gmail.com> Code-Review+2: Erno Kuvaja <jokke@usr.fi> Workflow+1: Erno Kuvaja <jokke@usr.fi> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 23 Oct 2018 15:41:27 +0000 Reviewed-on: https://review.openstack.org/579764 Project: openstack/glance-specs Branch: refs/heads/master
-rw-r--r--tox.ini2
1 files changed, 2 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index eb5822a..1433a45 100644
--- a/tox.ini
+++ b/tox.ini
@@ -11,9 +11,11 @@ deps = -r{toxinidir}/requirements.txt
11commands = python setup.py testr --slowest --testr-args='{posargs}' 11commands = python setup.py testr --slowest --testr-args='{posargs}'
12 12
13[testenv:venv] 13[testenv:venv]
14basepython = python3
14commands = {posargs} 15commands = {posargs}
15 16
16[testenv:docs] 17[testenv:docs]
18basepython = python3
17whitelist_externals = 19whitelist_externals =
18 rm 20 rm
19commands = 21commands =