-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathtox.ini
34 lines (33 loc) · 1.44 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
[tox]
envlist =
py{27}-django{111}-{locmem,file,memcached,redis_cache,django_redis,mysql,sqlite}
py{36,37,38}-django{21}-{locmem,file,memcached,redis_cache,django_redis,mysql,sqlite}
py{36,37,38}-django{22}-{locmem,file,memcached,redis_cache,django_redis,mysql,sqlite}
py{36,37,38,39}-django{30}-{locmem,file,memcached,redis_cache,django_redis,mysql,sqlite}
py{36,37,38,39}-django{31}-{locmem,file,memcached,redis_cache,django_redis,mysql,sqlite}
py{36,37,38,39}-django{32}-{locmem,file,memcached,redis_cache,django_redis,mysql,sqlite}
[testenv]
deps =
-rrequirements-test.txt
py27: mock==2.0.0
py27: unittest2==1.1.0
django111: Django==1.11.*
django21: Django==2.1.*
django22: Django==2.2.*
django30: Django==3.0.*
django31: Django==3.1.*
django32: Django==3.2.*
memcached: python-memcached>=1.59
django_redis: django-redis>=4.5.0
redis_cache: django-redis-cache>=1.8.0;python_version >= '3'
redis_cache: django-redis-cache<3.0.0;python_version < '3'
mysql: mysqlclient>=1.4.2
commands =
python setup.py test
setenv =
file: DJANGO_SETTINGS_MODULE=tests.settings.file
memcached: DJANGO_SETTINGS_MODULE=tests.settings.memcached
sqlite: DJANGO_SETTINGS_MODULE=tests.settings.sqlite
mysql: DJANGO_SETTINGS_MODULE=tests.settings.mysql
redis_cache: DJANGO_SETTINGS_MODULE=tests.settings.redis_cache
django_redis: DJANGO_SETTINGS_MODULE=tests.settings.django_redis