Browse Source

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: I2cfd19f5deece8cda8e7ea4b8ee1b747dc5534ef
tags/1.4.0
Vu Cong Tuan 11 months ago
parent
commit
c56db2edce
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      tox.ini

+ 5
- 0
tox.ini View File

@@ -19,6 +19,7 @@ deps = -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/re
19 19
 commands =
20 20
   py27: {[unit_tests]commands}
21 21
   py35: {[unit_tests]commands}
22
+  py36: {[unit_tests]commands}
22 23
 
23 24
 [unit_tests]
24 25
 commands = python manage.py test heat_dashboard.test --settings=heat_dashboard.test.settings
@@ -40,6 +41,10 @@ commands =
40 41
 basepython = python3.5
41 42
 commands = {[unit_tests]commands}
42 43
 
44
+[testenv:py36]
45
+basepython = python3.6
46
+commands = {[unit_tests]commands}
47
+
43 48
 [testenv:py3-dj111]
44 49
 basepython = python3
45 50
 commands =

Loading…
Cancel
Save