-
Notifications
You must be signed in to change notification settings - Fork 119
/
tox.ini
executable file
·23 lines (22 loc) · 853 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
[tox]
envlist =
py{36,37,38,39}-django{22,31,32}-elasticsearch{6,7}
[testenv]
envlogdir=
examples/logs/
examples/db/
examples/tmp/
passenv = *
deps =
django22: -r{toxinidir}/examples/requirements/django_2_2.txt
django31: -r{toxinidir}/examples/requirements/django_3_1.txt
django32: -r{toxinidir}/examples/requirements/django_3_2.txt
elasticsearch6: -r{toxinidir}/examples/requirements/elastic_6x.txt
elasticsearch7: -r{toxinidir}/examples/requirements/elastic_7x.txt
; coreapischema: -r{toxinidir}/examples/requirements/coreapi_coreschema.txt
; none: -r{toxinidir}/examples/requirements/none.txt
commands =
pip install -e .
pytest
; {envpython} runtests.py {posargs}
; {envpython} examples/simple/manage.py test {posargs:django_elasticsearch_dsl_drf} --settings=settings.testing --traceback -v 3