Skip to content

Commit

Permalink
add tox
Browse files Browse the repository at this point in the history
  • Loading branch information
Kriechi committed May 29, 2016
1 parent fb0b591 commit 669976d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ node_modules
bower_components
*.map
sslkeylogfile.log
.tox/
2 changes: 2 additions & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
2.7.11
3.5.1
10 changes: 10 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 669976d

Please sign in to comment.