summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormelissaml <ma.lei@99cloud.net>2018-07-24 19:44:08 +0800
committermelissaml <ma.lei@99cloud.net>2018-07-24 19:46:56 +0800
commit954f1dc815c5533361c84c0a345062af5e1f4890 (patch)
tree7809086e330a1a2620282ded830400d148c8de0e
parentf6831363b737394834cd4ada99fee11f8d7eb127 (diff)
Add py36 testenv
Python 3.6 is installed by default in Ubuntu 18.04 LTS. Therefore, according to Transition Plan [1], it'll be handy to have py36 testenv. For more details, please check Python2 Deprecation Timeline [2] and Python3-first Goal - Completion Criteria [3]. [1] https://wiki.ubuntu.com/Python/Python36Transition [2] https://governance.openstack.org/tc/resolutions/20180529-python2-deprecation-timeline.html [3] https://review.openstack.org/#/c/575933/8/goals/stein/python3-first.rst@42 Change-Id: I5f46c652dbc988991b2d506d66a985de7e5af8c9
Notes
Notes (review): Verified+1: Canonical CI <uosci-testing-bot@ubuntu.com> Code-Review+2: James Page <james.page@canonical.com> Workflow+1: James Page <james.page@canonical.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 25 Jul 2018 16:00:26 +0000 Reviewed-on: https://review.openstack.org/585324 Project: openstack/charm-interface-keystone Branch: refs/heads/master
-rw-r--r--tox.ini5
1 files changed, 5 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index d83ef84..6ffc056 100644
--- a/tox.ini
+++ b/tox.ini
@@ -15,6 +15,11 @@ basepython = python3
15deps = -r{toxinidir}/test-requirements.txt 15deps = -r{toxinidir}/test-requirements.txt
16commands = ostestr {posargs} 16commands = ostestr {posargs}
17 17
18[testenv:py36]
19basepython = python3.6
20deps = -r{toxinidir}/test-requirements.txt
21commands = ostestr {posargs}
22
18[testenv:pep8] 23[testenv:pep8]
19basepython = python2.7 24basepython = python2.7
20deps = -r{toxinidir}/test-requirements.txt 25deps = -r{toxinidir}/test-requirements.txt