forked from jazzband/django-redis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
37 lines (34 loc) · 844 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
[tox]
envlist =
lint
py{27,34,35,36}-django111
py{34,35,36,37}-django20
py{35,36,37}-django21
py{35,36,37}-djangomaster
[testenv]
commands =
python tests/runtests.py -v2
python tests/runtests-sharded.py -v2
python tests/runtests-herd.py -v2
python tests/runtests-json.py -v2
python tests/runtests-msgpack.py -v2
python tests/runtests-zlib.py -v2
python tests/runtests-lz4.py -v2
deps =
django111: Django>=1.11,<2.0
django20: Django>=2.0,<2.1
django21: Django>=2.1,<2.2
djangomaster: https://github.com/django/django/archive/master.tar.gz
mock
msgpack-python>=0.4.6
redis>=2.10.0
lz4>=0.15
[testenv:lint]
basepython = python3
commands =
flake8 django_redis tests
isort --check-only --diff --recursive django_redis tests
deps =
flake8
isort
skip_install = true