forked from noripyt/django-cachalot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
58 lines (55 loc) · 1.56 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
54
55
56
57
58
[tox]
envlist =
py{37,38,39}-django2.2-{sqlite3,postgresql,mysql}-{redis,memcached,pylibmc,locmem,filebased},
py{37,38,39,310}-django3.2-{sqlite3,postgresql,mysql}-{redis,memcached,pylibmc,locmem,filebased},
py{38,39,310}-django4.0-{sqlite3,postgresql,mysql}-{redis,memcached,pylibmc,locmem,filebased},
py{38,39,310}-django4.1-{sqlite3,postgresql,mysql}-{redis,memcached,pylibmc,locmem,filebased},
py{38,39,310}-djangomain-{sqlite3,postgresql,mysql}-{redis,memcached,pylibmc,locmem,filebased},
[testenv]
passenv = *
basepython =
py37: python3.7
py38: python3.8
py39: python3.9
py310: python3.10
deps =
django2.2: Django>=2.2,<2.3
django3.2: Django>=3.2,<4.0
django4.0: Django>=4.0,<4.1
django4.1: Django>=4.1,<4.2
djangomain: https://github.com/django/django/archive/main.tar.gz
psycopg2-binary>=2.8,<2.9
mysqlclient
django-redis
python-memcached
pymemcache
pylibmc
pytz
Jinja2
django-debug-toolbar
beautifulsoup4
coverage
setenv =
sqlite3: DB_ENGINE=sqlite3
postgresql: DB_ENGINE=postgresql
mysql: DB_ENGINE=mysql
locmem: CACHE_BACKEND=locmem
filebased: CACHE_BACKEND=filebased
redis: CACHE_BACKEND=redis
memcached: CACHE_BACKEND=memcached
pylibmc: CACHE_BACKEND=pylibmc
commands =
coverage run -a --source=cachalot ./runtests.py
[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
[gh-actions:env]
DJANGO =
2.2: django2.2
3.2: django3.2
4.0: django4.0
4.1: django4.1
main: djangomain