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: I061b2e278b9eaacb632459e1dc9e1de54b1be13f
Co-Authored-By: Nguyen Hai <nguyentrihai93@gmail.com>
This commit is contained in:
Nguyen Van Duc 2018-07-12 11:40:18 +07:00 committed by Nguyen Hai
parent 8b7bab3f53
commit c2d2760f8e
1 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,5 @@
[tox]
envlist = py27,pep8,docs
envlist = py36,py27,pep8,docs
minversion = 1.6
skipsdist = True
@ -21,6 +21,10 @@ commands =
commands =
{envpython} {toxinidir}/manage.py test tacker_horizon --settings=tacker_horizon.test.settings {posargs}
[testenv:py36]
commands =
{envpython} {toxinidir}/manage.py test tacker_horizon --settings=tacker_horizon.test.settings {posargs}
[testenv:pep8]
commands = flake8