diff options
author | Doug Hellmann <doug@doughellmann.com> | 2018-04-13 16:17:04 -0400 |
---|---|---|
committer | Doug Hellmann <doug@doughellmann.com> | 2018-04-13 16:17:04 -0400 |
commit | e883541d9f7ff6bdb244d6d745305bf03a8bdfe6 (patch) | |
tree | 718dd1b3d0f226158a6742b07c83d4a8fde9d77c /tox.ini | |
parent | 824ff654331ed16f97140ebda347a30268cc1246 (diff) | |
download | tooz-e883541d9f7ff6bdb244d6d745305bf03a8bdfe6.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: Ib90566414f0967b2c7c7633950e3dc2fa8634982
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -3,6 +3,7 @@ minversion = 1.8 envlist = py27,py35,py{27,35}-{zookeeper,redis,sentinel,memcached,postgresql,mysql,consul,etcd,etcd3,etcd3gw},pep8 [testenv] +basepython = python3 # We need to install a bit more than just `test' because those drivers have # custom tests that we always run deps = .[test,zake,ipc,memcached,mysql,etcd,etcd3,etcd3gw] @@ -35,6 +36,9 @@ commands = {toxinidir}/run-tests.sh {toxinidir}/tools/pretty_tox.sh "{posargs}" {toxinidir}/run-examples.sh +[testenv:py27] +basepython = python2.7 + [testenv:venv] # This target is used by the gate go run Sphinx to build the doc deps = {[testenv:docs]deps} |