summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-02-29 22:57:37 -0500
committerScott Moser <smoser@ubuntu.com>2016-02-29 22:57:37 -0500
commitb7a6e92274bb0d146c4637a78128bc771f2612e9 (patch)
treeba7ec4fd54a206d7d5e311ce9d172ffc60ed0e60 /tox.ini
parent3b773f7919c86a58956e2fc493512bb2c1ce31a8 (diff)
downloadvyos-cloud-init-b7a6e92274bb0d146c4637a78128bc771f2612e9.tar.gz
vyos-cloud-init-b7a6e92274bb0d146c4637a78128bc771f2612e9.zip
tox.ini: only specify py3 not specific py34
This makes tox work on xenial where python3 is python3.5 and on older (trusty) where python3 is python3.4.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini5
1 files changed, 4 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 849481f0..b72df0c9 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py27,py34
+envlist = py27,py3
recreate = True
[testenv]
@@ -7,6 +7,9 @@ commands = python -m nose {posargs:tests}
deps = -r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
+[testenv:py3]
+basepython = python3
+
# https://github.com/gabrielfalcao/HTTPretty/issues/223
setenv =
LC_ALL = en_US.utf-8