forked from twisted/treq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
51 lines (43 loc) · 1.11 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
[tox]
envlist =
{pypy,py27,py35,py36,py37}-twisted_{lowest,latest},
{pypy,py27,py35,py36,py37}-twisted_trunk-pyopenssl_trunk,
pypi-readme, check-manifest, flake8, docs
[testenv]
extras = dev
deps =
coverage
mock
!py37-twisted_lowest: Twisted==16.4.0
py37-twisted_lowest: Twisted==18.7.0
twisted_latest: Twisted
twisted_trunk: https://github.com/twisted/twisted/archive/trunk.zip
pyopenssl_trunk: https://github.com/pyca/pyopenssl/archive/master.zip
docs: Sphinx>=1.4.8
setenv =
# Avoid unnecessary network access when creating virtualenvs for speed.
VIRTUALENV_NO_DOWNLOAD=1
PIP_DISABLE_PIP_VERSION_CHECK=1
passenv = TERM # ensure colors
commands =
pip list
coverage run {envbindir}/trial {posargs:treq}
coverage report -m
[testenv:flake8]
skip_install = True
deps = flake8
commands = flake8 src/treq/
[testenv:pypi-readme]
deps =
readme_renderer
commands =
python setup.py check -r -s
[testenv:check-manifest]
deps =
check-manifest
commands =
check-manifest
[testenv:docs]
changedir = docs
commands =
sphinx-build -b html . html