File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -75,14 +75,19 @@ install:
7575script :
7676 - ' if [ $SLYCOT != "" ]; then python -c "import slycot"; fi'
7777 - coverage run setup.py test
78+
79+ # only run examples if Slycot is install
7880 # set PYTHONPATH for examples
81+ # pmw needed for examples/tfvis.py
82+ # future is needed for Python 2, also for examples/tfvis.py
83+
7984 - if [[ "$SLYCOT" != "" ]]; then
80- export PYTHONPATH=$PWD
81- # pmw needed for examples/tfvis.py
82- # future is needed for Python 2, also for examples/tfvis.py
83- conda install -c conda-forge pmw future
84- ' (cd examples && bash run_examples.sh)'
85+ export PYTHONPATH=$PWD;
86+ conda install -c conda-forge pmw future;
87+ cd examples; bash run_examples.sh; cd ..;
8588 fi
8689
90+ # arbitrary change to try to trigger travis build
91+
8792after_success :
8893 - coveralls
You can’t perform that action at this time.
0 commit comments