Add Python 3 targets to tox.ini

This commit is contained in:
Andy Freeland 2014-04-16 14:44:37 -04:00 коммит произвёл James Reynolds
Родитель 2586f1c269
Коммит 932caeb1c8
1 изменённых файлов: 25 добавлений и 1 удалений

26
tox.ini
Просмотреть файл

@ -4,7 +4,7 @@
# and then run "tox" from this directory.
[tox]
envlist = py26_dj14, py27_dj14, py26_dj15, py27_dj15, py26_dj16, py27_dj16
envlist = py26_dj14, py27_dj14, py26_dj15, py27_dj15, py26_dj16, py27_dj16, py33_dj15, py33_dj16, py34_dj15, py34_dj16
[testenv:py26_dj14]
basepython = python2.6
@ -30,6 +30,18 @@ commands = pip install django<1.5.99
pip install -r requirements/dev.txt
{envpython} run_tests.py
[testenv:py33_dj15]
basepython = python3.3
commands = pip install django<1.5.99
pip install -r requirements/dev.txt
{envpython} run_tests.py
[testenv:py34_dj15]
basepython = python3.4
commands = pip install django<1.5.99
pip install -r requirements/dev.txt
{envpython} run_tests.py
[testenv:py26_dj16]
basepython = python2.6
commands = pip install django<1.6.99
@ -41,3 +53,15 @@ basepython = python2.7
commands = pip install django<1.6.99
pip install -r requirements/dev.txt
{envpython} run_tests.py
[testenv:py33_dj16]
basepython = python3.3
commands = pip install django<1.6.99
pip install -r requirements/dev.txt
{envpython} run_tests.py
[testenv:py34_dj16]
basepython = python3.4
commands = pip install django<1.6.99
pip install -r requirements/dev.txt
{envpython} run_tests.py