add tox
This commit is contained in:
parent
fb0b591242
commit
669976d579
|
@ -18,3 +18,4 @@ node_modules
|
|||
bower_components
|
||||
*.map
|
||||
sslkeylogfile.log
|
||||
.tox/
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
2.7.11
|
||||
3.5.1
|
|
@ -0,0 +1,10 @@
|
|||
[tox]
|
||||
envlist = py27, py35, lint
|
||||
|
||||
[testenv]
|
||||
deps = -rrequirements.txt
|
||||
commands = py.test -n 8 --timeout 60 ./test/netlib ./test/mitmproxy/script ./test/pathod/test_utils.py ./test/pathod/test_log.py
|
||||
|
||||
[testenv:lint]
|
||||
deps = flake8
|
||||
commands = flake8 --exit-zero --count mitmproxy netlib pathod examples test
|
Loading…
Reference in New Issue