forked from twisted/treq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
44 lines (39 loc) · 1.13 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
[tox]
envlist =
{pypy,py27}-twisted_{14.0,15.1,15.3,15.5}-pyopenssl_{0.13.1,0.14,0.15.1},
{py33,py34,py35}-twisted_{15.5}-pyopenssl_{0.15.1},
{pypy,py27,py33,py34,py35}-twisted_trunk-pyopenssl_trunk,
pypi-readme, check-manifest, flake8
[testenv]
deps =
coverage
mock
; Can't use Cryptography 1.0 on older PyPys
pypy: cryptography<=0.9
twisted_14.0: twisted==14.0
twisted_15.1: twisted==15.1
twisted_15.3: twisted==15.3
twisted_15.5: twisted==15.5
twisted_trunk: https://github.com/twisted/twisted/archive/trunk.zip
pyopenssl_0.13.1: pyopenssl==0.13.1
pyopenssl_0.14: pyopenssl==0.14
pyopenssl_0.15.1: pyopenssl==0.15.1
pyopenssl_trunk: https://github.com/pyca/pyopenssl/archive/master.zip
passenv = TERM # ensure colors
commands =
coverage run --branch --source=treq {envbindir}/trial {posargs:treq}
coverage report -m
[testenv:flake8]
skip_install = True
deps = flake8
commands = flake8 treq/
[testenv:pypi-readme]
deps =
readme
commands =
python setup.py check -r -s
[testenv:check-manifest]
deps =
check-manifest
commands =
check-manifest