forked from pymorphy2/pymorphy2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
43 lines (33 loc) · 939 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
35
36
37
38
39
40
41
42
43
[tox]
envlist = {py27,py35,py36,py37,py38,pypy,pypy3}-{fast,slow},docs
minversion = 2.1.1
skip_missing_interpreters = True
[testenv]
deps=
pytest
pytest-cov
tqdm
coverage >= 4.0
py27,pypy: futures
{py27,py35,py36,py37,py38}-fast: lxml
; keep support for pymorphy2==0.8 dictionaries
slow: pymorphy2-dicts==2.4.393442.3710985
commands=
; a workaround for tox bug: https://bitbucket.org/hpk42/tox/issue/176/
pip install -I {toxinidir}
fast: pip install pymorphy2[fast]
py27,py35,py36,py37,py38,pypy3: pip install psutil
py27,py35,py36,py37,py38,pypy3: pymorphy dict mem_usage
py.test \
--doctest-modules \
--cov=pymorphy2 \
{posargs:pymorphy2 tests}
; setenv=
; PYMORPHY2_DICT_PATH = ../pymorphy2-dicts/pymorphy2_dicts/data
[testenv:docs]
deps=
sphinx
sphinx-rtd-theme
changedir=docs
commands=
sphinx-build -W -b html . {envtmpdir}/html