Skip to content

Commit def37f8

Browse files
committed
Fix: correct .travis.yml
The previous syntax was completely wrong.
1 parent 416d1fb commit def37f8

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.travis.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,19 @@ install:
7575
script:
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+
8792
after_success:
8893
- coveralls

0 commit comments

Comments
 (0)