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: Ie47d63619ab599c6fac63a33b6cdf60336a3e236
This commit is contained in:
Vu Cong Tuan 2018-06-27 11:15:53 +07:00
parent e95cd8cc5e
commit faa6d7fdc1
1 changed files with 6 additions and 0 deletions

View File

@ -32,6 +32,12 @@ commands =
stestr --test-path 'ec2api/tests/unit' run '{posargs}'
stestr slowest
[testenv:py36]
commands =
{[testenv]commands}
stestr --test-path 'ec2api/tests/unit' run '{posargs}'
stestr slowest
[testenv:pep8]
commands =
flake8 {posargs}