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/

Change-Id: Ic34952687f54176fccf051ab2e28260e25e107a8
This commit is contained in:
Nguyen Hai 2018-07-05 12:40:32 +09:00
parent e1c492553f
commit 11f921444c

View File

@ -1,5 +1,5 @@
[tox]
envlist = py35,py27,pep8,docs
envlist = py36,py35,py27,pep8,docs
minversion = 1.6
skipsdist = True
@ -42,6 +42,10 @@ commands = oslo_debug_helper {posargs}
basepython = python3.5
commands = oslo_debug_helper {posargs}
[testenv:debug-py36]
basepython = python3.6
commands = oslo_debug_helper {posargs}
[testenv:pep8]
deps = -r{toxinidir}/doc/requirements.txt
-r{toxinidir}/test-requirements.txt