diff --git a/tools/travis_test.sh b/tools/travis_test.sh index 25245ee2..6ed95049 100755 --- a/tools/travis_test.sh +++ b/tools/travis_test.sh @@ -54,16 +54,16 @@ echo 'backend : Template' > $MPL_DIR/matplotlibrc tools/header.py "Run doc examples" for f in doc/examples/*.py; do - python "$f"; + python "$f" if [ $? -ne 0 ]; then - exit 1; + exit 1 fi done for f in doc/examples/applications/*.py; do - python "$f"; + python "$f" if [ $? -ne 0 ]; then - exit 1; + exit 1 fi done