mirror of
https://github.com/jazzband/django-configurations.git
synced 2026-05-19 04:51:10 +00:00
41 lines
1.2 KiB
INI
41 lines
1.2 KiB
INI
[tox]
|
|
skipsdist = True
|
|
usedevelop = True
|
|
minversion = 1.8
|
|
envlist =
|
|
coverage-py27-dj16,
|
|
flake8-py27,
|
|
flake8-py33,
|
|
py{26,27,32,33,34,py}-dj{14,15,16,17,18}
|
|
|
|
[testenv]
|
|
deps =
|
|
django-discover-runner
|
|
mock
|
|
dj-database-url
|
|
dj-email-url
|
|
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
|
|
dj18: https://github.com/django/django/archive/master.zip#egg=django
|
|
flake8: flake8
|
|
coverage: coverage
|
|
|
|
commands =
|
|
python manage.py test -v2 {posargs:tests} --failfast
|
|
|
|
[testenv:flake8-py27]
|
|
commands = flake8 configurations --ignore=E501,E127,E128,E124
|
|
|
|
[testenv:flake8-py33]
|
|
commands = flake8 configurations --ignore=E501,E127,E128,E124
|
|
|
|
[testenv:coverage-py27-dj16]
|
|
commands = coverage erase
|
|
coverage run --source=. manage.py test -v2 {posargs:tests}
|
|
coverage report -m configurations/*py
|
|
coverage html configurations/*py
|