From a69a197b4cb66b47c178cbc30c7d031e3d4f2697 Mon Sep 17 00:00:00 2001 From: Vu Cong Tuan Date: Mon, 25 Jun 2018 09:28:39 +0700 Subject: [PATCH] Add py36 testenv Python 3.6 is installed by default in Ubuntu 18.04 LTS. Therefore, according to transition plan [1], we should have py36 testenv ready for it. [1] https://wiki.ubuntu.com/Python/Python36Transition Change-Id: I41723a6fed6946af11dc5c639f2529e8c12972be --- tox.ini | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tox.ini b/tox.ini index 63ddaa22..d2c038be 100644 --- a/tox.ini +++ b/tox.ini @@ -20,6 +20,10 @@ setenv = setenv = DJANGO_SETTINGS_MODULE=sahara_dashboard.test.settings +[testenv:py36] +setenv = + DJANGO_SETTINGS_MODULE=sahara_dashboard.test.settings + [testenv:pep8] basepython = python3 commands = flake8 @@ -33,6 +37,11 @@ basepython = python3.5 commands = pip install django>=2.0,<2.1 /bin/bash run_tests.sh -N --no-pep8 {posargs} +[testenv:py36dj20] +basepython = python3.6 +commands = pip install django>=2.0,<2.1 + /bin/bash run_tests.sh -N --no-pep8 {posargs} + [testenv:py27integration] basepython = python2.7 commands = /bin/bash run_tests.sh -N --integration --selenium-headless {posargs}