django-configurations/tox.ini

46 lines
1.1 KiB
INI

[tox]
skipsdist = True
usedevelop = True
minversion = 1.8
envlist =
coverage-py27-dj16,
flake8-py27,
flake8-py33,
py{26,py}-dj{14,15,16},
py27-dj{14,15,16,17,18},
py{32,33,34,py}-dj{15,16,17,18}
[testenv]
basepython =
py26: python2.6
py27: python2.7
py32: python3.2
py33: python3.3
py34: python3.4
pypy: pypy
usedevelop = true
deps =
mock
dj-database-url
dj-email-url
dj-search-url
django-cache-url>=0.6.0
six
https://github.com/pytest-dev/pytest-django/archive/master.zip#egg=pytest-django
pytest-cov
dj14: https://github.com/django/django/archive/stable/1.4.x.zip#egg=django
dj15: https://github.com/django/django/archive/stable/1.5.x.zip#egg=django
dj16: https://github.com/django/django/archive/stable/1.6.x.zip#egg=django
dj17: https://github.com/django/django/archive/stable/1.7.x.zip#egg=django
dj18: https://github.com/django/django/archive/master.zip#egg=django
commands =
py.test {posargs:}
[testenv:flake8-py27]
commands = flake8 configurations
deps = flake8
[testenv:flake8-py33]
commands = flake8 configurations
deps = flake8