From b12f2e1dfdb095596f7bb5f48eb1de04db9533cb Mon Sep 17 00:00:00 2001 From: Vu Cong Tuan Date: Wed, 27 Jun 2018 15:24:56 +0700 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: I275d0ffe7b03cf564d02f575f92dd5bb395c7b48 --- tox.ini | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tox.ini b/tox.ini index 64fa2eec..5be01f3f 100644 --- a/tox.ini +++ b/tox.ini @@ -24,6 +24,12 @@ commands = stestr run {posargs} stestr slowest +[testenv:py36] +commands = + {[testenv]commands} + stestr run {posargs} + stestr slowest + [testenv:docs] basepython = python3 deps = -r{toxinidir}/doc/requirements.txt