django-configurations/tox.ini

52 lines
1.2 KiB
INI
Raw Normal View History

[tox]
skipsdist = True
usedevelop = True
minversion = 1.8
envlist =
flake8-py27,
flake8-py33,
2014-12-12 16:26:21 +00:00
py{26,py}-dj{14,15,16},
2015-02-13 21:06:43 +00:00
py27-dj{14,15,16,17,18,19},
py{32,33,34,py}-dj{15,16,17,18,19}
[testenv]
2014-12-12 16:26:21 +00:00
basepython =
py26: python2.6
py27: python2.7
py32: python3.2
py33: python3.3
py34: python3.4
pypy: pypy
usedevelop = true
deps =
2015-02-13 20:45:37 +00:00
coverage
django-discover-runner
mock
dj-database-url
dj-email-url
2014-01-16 18:00:29 +00:00
dj-search-url
django-cache-url>=0.6.0
six
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
2015-01-25 17:12:41 +00:00
dj18: https://github.com/django/django/archive/stable/1.8.x.zip#egg=django
dj19: https://github.com/django/django/archive/master.zip#egg=django
commands =
2015-02-13 17:12:02 +00:00
coverage run manage.py test -v2 {posargs:tests}
coverage report
[testenv:flake8-py27]
2015-02-13 20:45:37 +00:00
commands = flake8 configurations
deps = flake8
[testenv:flake8-py33]
2015-02-13 20:45:37 +00:00
commands = flake8 configurations
deps = flake8
[flake8]
exclude=.tox
ignore=E501,E127,E128,E124