From e60f13140292b41e1a320f0809752ae76d04c60b Mon Sep 17 00:00:00 2001 From: Nguyen Van Duc Date: Thu, 12 Jul 2018 17:50:29 +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: Idf3d627ab2d9319cd4099a0f30069bac5ed51c3d --- tox.ini | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 99157f8..5db127e 100644 --- a/tox.ini +++ b/tox.ini @@ -33,7 +33,12 @@ whitelist_externals = true commands = true [testenv:py35] -basepython = python3 +basepython = python3.5 +deps = -r{toxinidir}/test-requirements.txt +commands = ostestr {posargs} + +[testenv:py36] +basepython = python3.6 deps = -r{toxinidir}/test-requirements.txt commands = ostestr {posargs}