From 954f1dc815c5533361c84c0a345062af5e1f4890 Mon Sep 17 00:00:00 2001 From: melissaml Date: Tue, 24 Jul 2018 19:44:08 +0800 Subject: [PATCH] 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 --- tox.ini | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tox.ini b/tox.ini index d83ef84..6ffc056 100644 --- a/tox.ini +++ b/tox.ini @@ -15,6 +15,11 @@ basepython = python3 deps = -r{toxinidir}/test-requirements.txt commands = ostestr {posargs} +[testenv:py36] +basepython = python3.6 +deps = -r{toxinidir}/test-requirements.txt +commands = ostestr {posargs} + [testenv:pep8] basepython = python2.7 deps = -r{toxinidir}/test-requirements.txt