mirror of
https://github.com/jazzband/django-configurations.git
synced 2026-03-16 22:20:27 +00:00
45 lines
1 KiB
INI
45 lines
1 KiB
INI
[tox]
|
|
skipsdist = True
|
|
usedevelop = True
|
|
minversion = 1.8
|
|
envlist =
|
|
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
|
|
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
|