diff --git a/tools/travis_test.sh b/tools/travis_test.sh index f79cbc2b..5f062542 100755 --- a/tools/travis_test.sh +++ b/tools/travis_test.sh @@ -50,15 +50,15 @@ fi tools/header.py "Run doc examples" PYTHONPATH="..":$PYTHONPATH -for f in doc/examples/*.py; -do python "$f"; +for f in doc/examples/*.py; do + python "$f"; if [ $? -ne 0 ]; then exit 1; fi done -for f in doc/examples/applications/*.py; -do python "$f"; +for f in doc/examples/applications/*.py; do + python "$f"; if [ $? -ne 0 ]; then exit 1; fi