-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtox.ini
32 lines (30 loc) · 883 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
[tox]
envlist = django{22,32,42,50,51}-{mysql,postgres,sqlite}
[travis:env]
DJANGO =
2.2: django22
3.2: django32
4.2: django42
5.0: django50
5.1: django51
[testenv]
deps =
-r{toxinidir}/tests/requirements.txt
django22, django32: setuptools
django22-postgres, django32-postgres: psycopg2
django22: Django~=2.2.28
django32: Django~=3.2.25
django42: Django~=4.2.16
django50: Django~=5.0.9
django51: Django~=5.1.3
mysql: mysqlclient
postgres: psycopg
setenv =
PYTHONPATH={toxinidir}/tests:{toxinidir}
PYTHONDONTWRITEBYTECODE=1
DJANGO_SETTINGS_MODULE=testapp.settings
mysql: DJANGO_SETTINGS_MODULE=testapp.settings_mysql
postgres: DJANGO_SETTINGS_MODULE=testapp.settings_postgres
commands =
coverage run --branch --include=osso/* {toxinidir}/tests/manage.py test --noinput
coverage report --skip-covered -m