forked from django-extensions/django-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
38 lines (33 loc) · 916 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist =
{py27,py34}-flake8,
{py26,py27}-dj14,
{py26,py27,py32,py33,py34}-dj{15,16},
{py27,py32,py33,py34,pypy,pypy3}-dj{17,18,master}
[testenv]
commands = py.test {posargs}
deps =
dj14: Django>=1.4,<1.5
dj15: Django>=1.5,<1.6
dj16: Django>=1.6,<1.7
dj17: Django>=1.7,<1.8
dj18: https://www.djangoproject.com/download/1.8b1/tarball/
djmaster: https://github.com/django/django/zipball/master
shortuuid==0.4
python-dateutil
pytest-django==2.8.0
pytest-xdist
pytest-cov
py27: python-keyczar
[testenv:py27-flake8]
deps =
flake8
commands = flake8 django_extensions tests
[testenv:py34-flake8]
deps =
flake8
commands = flake8 django_extensions tests