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:
parent
76f8d1b51b
commit
a69a197b4c
9
tox.ini
9
tox.ini
|
@ -20,6 +20,10 @@ setenv =
|
||||||
setenv =
|
setenv =
|
||||||
DJANGO_SETTINGS_MODULE=sahara_dashboard.test.settings
|
DJANGO_SETTINGS_MODULE=sahara_dashboard.test.settings
|
||||||
|
|
||||||
|
[testenv:py36]
|
||||||
|
setenv =
|
||||||
|
DJANGO_SETTINGS_MODULE=sahara_dashboard.test.settings
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
commands = flake8
|
commands = flake8
|
||||||
|
@ -33,6 +37,11 @@ basepython = python3.5
|
||||||
commands = pip install django>=2.0,<2.1
|
commands = pip install django>=2.0,<2.1
|
||||||
/bin/bash run_tests.sh -N --no-pep8 {posargs}
|
/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]
|
[testenv:py27integration]
|
||||||
basepython = python2.7
|
basepython = python2.7
|
||||||
commands = /bin/bash run_tests.sh -N --integration --selenium-headless {posargs}
|
commands = /bin/bash run_tests.sh -N --integration --selenium-headless {posargs}
|
||||||
|
|
Loading…
Reference in New Issue