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: Ied2445269d56090770558a765a38aeff549f8dae
This commit is contained in:
parent
0d75314699
commit
cb0baea330
8
tox.ini
8
tox.ini
|
@ -13,6 +13,14 @@ deps = -r{toxinidir}/requirements-frozen.txt
|
||||||
commands =
|
commands =
|
||||||
pytest
|
pytest
|
||||||
|
|
||||||
|
[testenv:py36]
|
||||||
|
setenv =
|
||||||
|
PYTHONWARNING=all
|
||||||
|
deps = -r{toxinidir}/requirements-frozen.txt
|
||||||
|
-r{toxinidir}/test-requirements.txt
|
||||||
|
commands =
|
||||||
|
pytest
|
||||||
|
|
||||||
[testenv:bandit]
|
[testenv:bandit]
|
||||||
deps = bandit==1.4.0
|
deps = bandit==1.4.0
|
||||||
commands =
|
commands =
|
||||||
|
|
Loading…
Reference in New Issue