aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Kriechbaumer <thomas@kriechbaumer.name>2016-06-08 19:45:20 +0200
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2016-06-08 19:46:13 +0200
commit68f07911e002b5ee0111f62d5657c430fcc57462 (patch)
treed4f302d00aaa304c69dc007fb3123c425324c652
parentf3f8dce5a0c1b1b290603a73cbf0ae8324189d95 (diff)
downloadmitmproxy-68f07911e002b5ee0111f62d5657c430fcc57462.tar.gz
mitmproxy-68f07911e002b5ee0111f62d5657c430fcc57462.tar.bz2
mitmproxy-68f07911e002b5ee0111f62d5657c430fcc57462.zip
properly fail on test failures
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index feb68024..d1b02463 100644
--- a/tox.ini
+++ b/tox.ini
@@ -16,7 +16,7 @@ commands =
# remove bash & pipe & grep hack after cryptography ships with openssl 1.1.0
whitelist_externals = bash
commands =
- bash -c 'py.test --cov netlib --cov mitmproxy --cov pathod --color=yes --timeout 60 test/netlib test/mitmproxy/script test/pathod/test_utils.py test/pathod/test_log.py test/pathod/test_language_generators.py test/pathod/test_language_writer.py test/pathod/test_language_base.py test/pathod/test_language_http.py test/pathod/test_language_websocket.py test/pathod/test_language_http2.py 2>&1 | grep -v Cryptography_locking_cb'
+ bash -c 'set -o pipefail ; py.test --cov netlib --cov mitmproxy --cov pathod --color=yes --timeout 60 test/netlib test/mitmproxy/script test/pathod/test_utils.py test/pathod/test_log.py test/pathod/test_language_generators.py test/pathod/test_language_writer.py test/pathod/test_language_base.py test/pathod/test_language_http.py test/pathod/test_language_websocket.py test/pathod/test_language_http2.py 2>&1 | grep -v Cryptography_locking_cb'
codecov -e TOXENV
[testenv:docs]