forked from twisted/treq
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
43 lines (38 loc) · 1.08 KB
/
Copy pathtox.ini
File metadata and controls
43 lines (38 loc) · 1.08 KB
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
[tox]
envlist =
{pypy,py27}-twisted_{16.0,16.1,16.2,16.3,16.4}-pyopenssl_{0.13.1,0.14,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_16.0: twisted==16.0
twisted_16.1: twisted==16.1
twisted_16.3: twisted==16.3
twisted_16.4: twisted==16.4
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