forked from requests/toolbelt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
70 lines (61 loc) · 1.21 KB
/
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[tox]
envlist = py27,py34,py35,py36,py37,pypy,pypy3,{py27,py34}-flake8,noopenssl,docstrings
[testenv]
pip_pre = False
deps =
requests{env:REQUESTS_VERSION:>=2.0.1,<3.0.0}
pytest
mock
pyopenssl
ndg-httpsclient
betamax>0.5.0
commands =
py.test {posargs}
[testenv:noopenssl]
basepython = python3.6
pip_pre = False
deps =
requests{env:REQUESTS_VERSION:>=2.0.1,<3.0.0}
pytest
mock
betamax>0.5.0
commands =
py.test {posargs}
[testenv:py27-flake8]
basepython = python2.7
deps =
flake8
commands = flake8 {posargs} requests_toolbelt
[testenv:py34-flake8]
basepython = python3.4
deps =
flake8
commands = flake8 {posargs} requests_toolbelt
[testenv:docstrings]
deps =
flake8
flake8-docstrings
commands = flake8 {posargs} requests_toolbelt
[testenv:docs]
deps =
sphinx>=1.3.0
sphinx_rtd_theme
pyopenssl
.
commands =
sphinx-build -E -c docs -b html docs/ docs/_build/html
[testenv:readme]
deps =
readme_renderer
commands =
python setup.py check -m -r -s
[testenv:release]
deps =
twine >= 1.4.0
wheel
commands =
python setup.py sdist bdist_wheel
twine upload --skip-existing dist/*
[pytest]
addopts = -q
norecursedirs = *.egg .git .* _*