Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a42976c

Browse files
committed
TST: Don't use set -e.
This may or may not help with Travis.
1 parent 2facc69 commit a42976c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

ci/travis/test_script.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/bash
22

3-
set -ev
3+
set -v
44

55
# This script is meant to be called by the "script" step defined in
66
# .travis.yml. See http://docs.travis-ci.com/ for more details.
@@ -18,6 +18,8 @@ fi
1818
echo The following args are passed to pytest $PYTEST_ARGS $RUN_PEP8
1919
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
2020
pytest $PYTEST_ARGS $RUN_PEP8
21+
exit $?
2122
else
2223
gdb -return-child-result -batch -ex r -ex bt --args python $PYTHON_ARGS -m pytest $PYTEST_ARGS $RUN_PEP8
24+
exit $?
2325
fi

0 commit comments

Comments
 (0)