From 7f048b17782cc8b575753b630c8a5bf379537b9f Mon Sep 17 00:00:00 2001 From: Tri Nguyen Date: Wed, 6 Feb 2019 10:28:23 -0500 Subject: [PATCH] Preserve the test return code for non-travis environments --- tests/bootstrap.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/bootstrap.sh b/tests/bootstrap.sh index 013037f33b..04ec6b73d1 100755 --- a/tests/bootstrap.sh +++ b/tests/bootstrap.sh @@ -13,7 +13,10 @@ pip install selenium===3.14.1 \ | grep -v 'Requirement already satisfied' python test.py $1 $2 +ret_code=$? if [ "${TRAVIS:-false}" = "false" ]; then deactivate fi + +exit $ret_code