From d20c7bb5f2e61c6e362adc2ebf8af61eaaaf52be Mon Sep 17 00:00:00 2001 From: Vu Cong Tuan Date: Thu, 28 Jun 2018 08:30:04 +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: I2b1942ffc66aa0c79a76182838fda0f369b24b78 --- tox.ini | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tox.ini b/tox.ini index d5c56ae..d726f92 100644 --- a/tox.ini +++ b/tox.ini @@ -27,6 +27,12 @@ deps = -r{toxinidir}/test-requirements.txt # TODO: Need to write unit tests then remove the following command. commands = /bin/true +[testenv:py36] +basepython = python3.6 +deps = -r{toxinidir}/test-requirements.txt +# TODO: Need to write unit tests then remove the following command. +commands = /bin/true + [testenv:pep8] basepython = python2.7 deps = -r{toxinidir}/test-requirements.txt