This repository has been archived by the owner on May 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathtox.ini
140 lines (125 loc) · 2.91 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
[tox]
envlist = py27, py35, py36, py37, py38, pypy2, pypy3
[testenv]
usedevelop = True
;install_command = pip install -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com --global-option=build_ext --global-option="-L/usr/local/opt/openssl/lib" --global-option="-I/usr/local/opt/openssl/include" {opts} {packages}
passenv = CI TRAVIS TRAVIS_* GITHUB_*
deps =
codecov
coverage
; pytest
; pytest-twisted
; pytest-rerunfailures
; tornado
; twisted
; treq
; pyOpenSSL
; pytest_httpserver
tox
commands =
py.test
; py.test --reruns=3 {posargs:consul tests}
coverage run -m tox
codecov -t 48e049f3-dd7c-43e5-a283-acfc68d1c27a
[testenv:py27]
deps =
requests
pytest==4.6
tornado==5.1
pytest-rerunfailures
pytest-twisted
twisted==18.4.0
treq
pyOpenSSL
commands =
py.test --reruns=3 {posargs:consul tests}
[testenv:pypy]
#brew link openssl --force
install_command = pip install -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com --global-option=build_ext --global-option="-L/usr/local/opt/openssl/lib" --global-option="-I/usr/local/opt/openssl/include" {opts} {packages}
deps =
incremental==17.5.0
requests
pytest==4.6
tornado==5.1
pytest-rerunfailures
pytest-twisted
twisted==18.4.0
treq
pyOpenSSL
commands =
py.test --reruns=3 {posargs:consul tests}
[testenv:pypy3]
install_command = pip install --global-option=build_ext --global-option="-L/usr/local/opt/openssl/lib" --global-option="-I/usr/local/opt/openssl/include" {opts} {packages}
deps =
requests
pytest==4.6
tornado==5.1
pytest-rerunfailures
pytest-twisted
twisted==18.4.0
treq
pytest_httpserver
pyOpenSSL
aiohttp
commands =
py.test --reruns=3 {posargs:consul tests}
[testenv:py35]
deps =
pytest
pytest-rerunfailures
pytest-twisted
twisted==15.5.0
treq
pytest_httpserver
pyOpenSSL
tornado
aiohttp
flake8==3.
commands =
py.test --reruns=3 {posargs:consul tests}
flake8 --exclude=".tox/*,xx/*,__*,docs/*,venv/*"
[testenv:py36]
deps =
pytest
pytest-rerunfailures
pytest-twisted
twisted
treq
pytest_httpserver
pyOpenSSL
tornado
aiohttp
flake8
commands =
py.test --reruns=3 {posargs:consul tests}
flake8 --exclude=".tox/*,xx/*,__*,docs/*,venv/*"
[testenv:py37]
deps =
pytest
pytest-rerunfailures
pytest-twisted
twisted
treq
pytest_httpserver
pyOpenSSL
tornado
aiohttp
flake8
commands =
py.test --reruns=3 {posargs:consul tests}
flake8 --exclude=".tox/*,xx/*,__*,docs/*,venv/*"
[testenv:py38]
deps =
pytest
pytest-rerunfailures
pytest-twisted
twisted
treq
pytest_httpserver
pyOpenSSL
tornado
aiohttp
flake8
commands =
py.test --reruns=3 {posargs:consul tests}
flake8 --exclude=".tox/*,xx/*,__*,docs/*,venv/*"