forked from qburst/django-haystack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
34 lines (30 loc) · 780 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
[tox]
envlist =
docs
py{36,37,38,39,310,py}-django{2.2,3.0,3.1,3.2,4.0}-es{1.x,2.x,5.x,7.x}
[testenv]
commands =
python test_haystack/solr_tests/server/wait-for-solr
python {toxinidir}/setup.py test
deps =
requests
django2.2: Django>=2.2,<3.0
django3.0: Django>=3.0,<3.1
django3.1: Django>=3.1,<3.2
django3.2: Django>=3.2,<3.3
django4.0: Django>=4.0,<4.1
es1.x: elasticsearch>=1,<2
es2.x: elasticsearch>=2,<3
es5.x: elasticsearch>=5,<6
es7.x: elasticsearch>=7,<8
setenv =
es1.x: VERSION_ES=>=1,<2
es2.x: VERSION_ES=>=2,<3
es5.x: VERSION_ES=>=5,<6
es7.x: VERSION_ES=>=7,<8
[testenv:docs]
changedir = docs
deps =
sphinx
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html