Skip to content

Commit cda33a2

Browse files
authored
return errors from examples/run_examples.sh correctly (python-control#311)
The PR fixes an error in .travis.yml that was not checking for errors in examples/run_examples.sh correctly, so any errors in the examples files were not being caught.
1 parent c99f72f commit cda33a2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.travis.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,11 @@ script:
8484
# set PYTHONPATH for examples
8585
# pmw needed for examples/tfvis.py
8686
# future is needed for Python 2, also for examples/tfvis.py
87-
8887
- if [[ "$SLYCOT" != "" ]]; then
8988
export PYTHONPATH=$PWD;
9089
conda install -c conda-forge pmw future;
91-
cd examples; bash run_examples.sh; cd ..;
90+
(cd examples; bash run_examples.sh);
9291
fi
9392

94-
# arbitrary change to try to trigger travis build
95-
9693
after_success:
9794
- coveralls

0 commit comments

Comments
 (0)