forked from wkeeling/selenium-wire
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
42 lines (34 loc) · 809 Bytes
/
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
[tox]
envlist = py34, py35, py36, py37, py38, flake8
[travis]
python =
3.8: py38
3.7: py37
3.6: py36
3.5: py35
3.4: py34
[testenv:flake8]
basepython = python
deps = flake8
commands = flake8 seleniumwire
[testenv]
setenv =
PYTHONPATH = {toxinidir}
[testenv:py{34,35}]
deps =
coverage
nose
selenium
; We have to skip the mitmproxy tests because they depend on Python 3.6+
commands = nosetests -e '.*test_mitmproxy.*' tests
[testenv:py{36,37,38}]
setenv =
; This makes the AdminClientIntegrationTest run against the mitmproxy backend.
; We currently rely on the default backend being tested by the py34/py35 tests.
SW_TEST_BACKEND = mitmproxy
deps =
coverage
nose
selenium
mitmproxy
commands = nosetests --with-coverage --cover-erase tests