Add Django 1.9 testenv
Added django 1.9 testenv and also drop django 1.7 (since it's no longer in global requirements) Change-Id: Ifcc98454b1ecff2e230575e710e4237f360583d8
This commit is contained in:
parent
9e2ab5018b
commit
92b4e66008
12
tox.ini
12
tox.ini
|
@ -1,6 +1,6 @@
|
||||||
[tox]
|
[tox]
|
||||||
minversion = 1.6
|
minversion = 1.6
|
||||||
envlist = py27,pep8,py27dj17
|
envlist = py27,pep8,py27dj18
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
|
@ -22,17 +22,17 @@ commands = flake8
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:py27dj17]
|
|
||||||
basepython = python2.7
|
|
||||||
commands = pip install django>=1.7,<1.8
|
|
||||||
/bin/bash run_tests.sh -N --no-pep8 {posargs}
|
|
||||||
|
|
||||||
# Django-1.8 is LTS
|
# Django-1.8 is LTS
|
||||||
[testenv:py27dj18]
|
[testenv:py27dj18]
|
||||||
basepython = python2.7
|
basepython = python2.7
|
||||||
commands = pip install django>=1.8,<1.9
|
commands = pip install django>=1.8,<1.9
|
||||||
/bin/bash run_tests.sh -N --no-pep8 {posargs}
|
/bin/bash run_tests.sh -N --no-pep8 {posargs}
|
||||||
|
|
||||||
|
[testenv:py27dj19]
|
||||||
|
basepython = python2.7
|
||||||
|
commands = pip install django>=1.9,<1.10
|
||||||
|
/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