summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVu Cong Tuan <tuanvc@vn.fujitsu.com>2018-06-27 11:08:18 +0700
committerVu Cong Tuan <tuanvc@vn.fujitsu.com>2018-06-27 11:09:20 +0700
commitc56db2edce1d085ec74bba3119434ada7c363753 (patch)
treedbca11c31cbe3d8a4e582cc7ed50e803c039cbac
parent5f9611f28b674d1cb6ac6b0935cccd161810ea81 (diff)
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
Notes
Notes (review): Code-Review+2: Xinni Ge <xinni.ge1990@gmail.com> Code-Review+1: Van Hung Pham <hungpv@vn.fujitsu.com> Code-Review+1: Nguyen Hung Phuong <phuongnh@vn.fujitsu.com> Code-Review+1: Filippo Inzaghi <zhao.daqing@99cloud.net> Workflow+1: Keiichi Hikita <keiichi.hikita@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 13 Aug 2018 23:58:33 +0000 Reviewed-on: https://review.openstack.org/578266 Project: openstack/heat-dashboard Branch: refs/heads/master
-rw-r--r--tox.ini5
1 files changed, 5 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 62f455a..589817a 100644
--- a/tox.ini
+++ b/tox.ini
@@ -19,6 +19,7 @@ deps = -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/re
19commands = 19commands =
20 py27: {[unit_tests]commands} 20 py27: {[unit_tests]commands}
21 py35: {[unit_tests]commands} 21 py35: {[unit_tests]commands}
22 py36: {[unit_tests]commands}
22 23
23[unit_tests] 24[unit_tests]
24commands = python manage.py test heat_dashboard.test --settings=heat_dashboard.test.settings 25commands = python manage.py test heat_dashboard.test --settings=heat_dashboard.test.settings
@@ -40,6 +41,10 @@ commands =
40basepython = python3.5 41basepython = python3.5
41commands = {[unit_tests]commands} 42commands = {[unit_tests]commands}
42 43
44[testenv:py36]
45basepython = python3.6
46commands = {[unit_tests]commands}
47
43[testenv:py3-dj111] 48[testenv:py3-dj111]
44basepython = python3 49basepython = python3
45commands = 50commands =