forked from scrapy/itemloaders
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
47 lines (40 loc) · 817 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
44
45
46
47
[tox]
envlist = py35,py36,py37,py38,py39,py310
[testenv]
deps =
pytest
pytest-cov
commands =
py.test \
--cov-report=term --cov-report=html --cov-report= --cov=itemloaders \
--doctest-modules \
{posargs:itemloaders tests}
[testenv:extra-deps]
deps =
{[testenv]deps}
attrs
scrapy
[testenv:pypy3]
basepython = pypy3
[docs]
changedir = docs
deps =
-rdocs/requirements.txt
setenv =
READTHEDOCS_PROJECT=itemloaders
READTHEDOCS_VERSION=master
[testenv:docs]
basepython = python3
changedir = {[docs]changedir}
deps = {[docs]deps}
setenv = {[docs]setenv}
commands =
sphinx-build -W -b html . {envtmpdir}/html
[testenv:twinecheck]
basepython = python3
deps =
twine==4.0.2
build==0.10.0
commands =
python -m build --sdist
twine check dist/*