forked from django-extensions/django-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
53 lines (45 loc) · 1.03 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# 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 =
precommit
safety
{py27,py34,py35}-flake8
{py27,py33,py34,pypy,pypy3}-dj18
{py27,py34,py35,pypy}-dj{19,dj110,master}
[testenv]
commands = make test
whitelist_externals = make
deps =
dj18: Django>=1.8,<1.9
dj19: Django>=1.9,<1.10
dj110: Django==1.10rc1
djmaster: https://github.com/django/django/archive/master.tar.gz
shortuuid==0.4
python-dateutil
pytest-django
pytest-cov
py27: python-keyczar
mock
[testenv:precommit]
deps =
pre-commit
commands = pre-commit run -a
[testenv:safety]
deps =
safety
commands = safety check --full-report
[testenv:py27-flake8]
deps =
flake8
commands = flake8 django_extensions tests
[testenv:py34-flake8]
deps =
flake8
commands = flake8 django_extensions tests
[testenv:py35-flake8]
deps =
flake8
commands = flake8 django_extensions tests