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
This commit is contained in:
Vu Cong Tuan 2018-06-25 09:28:39 +07:00
parent 76f8d1b51b
commit a69a197b4c
1 changed files with 9 additions and 0 deletions

View File

@ -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}