diff options
author | Doug Hellmann <doug@doughellmann.com> | 2018-04-13 16:08:24 -0400 |
---|---|---|
committer | Doug Hellmann <doug@doughellmann.com> | 2018-04-13 16:08:24 -0400 |
commit | 4de1ee38fb2a6aff0fb73f20087540ccc9daccba (patch) | |
tree | c44b32cc01b67daa3191f15647ff0fe37d4493b7 | |
parent | 5f70c35a0d4b0df60015461d73ef8bef5d5ab7a4 (diff) | |
download | oslosphinx-4de1ee38fb2a6aff0fb73f20087540ccc9daccba.tar.gz |
set default python to python3
Set the default python to python3 except for the py27 environment. We
have to set that explicitly to override the new default.
Change-Id: I9d9b80a6e177f7a3a1e20be8da5f603b95ad2deb
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
-rw-r--r-- | tox.ini | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -3,12 +3,16 @@ minversion = 2.0 envlist = pep8 [testenv] +basepython = python3 install_command = pip install {opts} {packages} deps = -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} -r{toxinidir}/test-requirements.txt -r{toxinidir}/requirements.txt +[testenv:py27] +basepython = python2.7 + [testenv:pep8] commands = flake8 oslosphinx |