Skip to content

Commit 0a793b1

Browse files
tnguyen14diemol
authored andcommitted
Preserve the test return code for non-travis environments (#870)
1 parent 694b7f2 commit 0a793b1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/bootstrap.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ pip install selenium===3.14.1 \
1313
| grep -v 'Requirement already satisfied'
1414

1515
python test.py $1 $2
16+
ret_code=$?
1617

1718
if [ "${TRAVIS:-false}" = "false" ]; then
1819
deactivate
1920
fi
21+
22+
exit $ret_code

0 commit comments

Comments
 (0)