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

Skip to content

Commit cca6e68

Browse files
anntzerQuLogic
authored andcommitted
Merge pull request #10217 from QuLogic/travis-fixup
TST: Don't use set -e.
1 parent 811c88e commit cca6e68

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

ci/travis/test_script.sh

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

3-
set -ev
3+
set -ex
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.
@@ -21,8 +21,5 @@ export PYTHONHASHSEED=$(python -c 'import random; print(random.randint(1, 429496
2121
echo PYTHONHASHSEED=$PYTHONHASHSEED
2222

2323
echo The following args are passed to pytest $PYTEST_ARGS $RUN_PEP8
24-
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
25-
pytest $PYTEST_ARGS $RUN_PEP8
26-
else
27-
gdb -return-child-result -batch -ex r -ex bt --args python $PYTHON_ARGS -m pytest $PYTEST_ARGS $RUN_PEP8
28-
fi
24+
25+
pytest $PYTEST_ARGS $RUN_PEP8

0 commit comments

Comments
 (0)