-
Notifications
You must be signed in to change notification settings - Fork 88
/
tox.ini
48 lines (42 loc) · 1021 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
48
# tox.ini
[tox]
envlist = min,py27,py34,py35,py36,py37,py38,py39,py310,py311,py312,docs,security
[testenv]
deps =
-rrequirements.txt
-rtests/requirements.txt
commands =
py.test --doctest-modules --cov=scrapy_zyte_smartproxy {posargs:scrapy_zyte_smartproxy tests}
[testenv:min]
basepython = python2.7
deps =
Scrapy==1.4.0
six==1.10.0
# https://github.com/scrapy/scrapy/blob/1.4.0/setup.py#L45
Twisted==13.1.0
w3lib==1.17.0
-rtests/requirements.txt
[testenv:py34]
basepython = python3.4
deps =
Scrapy
six
# Latest Twisted that does not install an embedded version of incremental
# that is incompatible with Python 3.4.
Twisted==16.4.1
w3lib
-rtests/requirements.txt
[testenv:security]
deps =
bandit
commands =
bandit -r {posargs:scrapy_zyte_smartproxy setup.py}
[docs]
changedir = docs
deps =
-rdocs/requirements.txt
[testenv:docs]
changedir = {[docs]changedir}
deps = {[docs]deps}
commands =
sphinx-build -nW -b html . {envtmpdir}/html