File tree 1 file changed +5
-2
lines changed 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -51,8 +51,10 @@ before_install:
51
51
- conda create -q -n test-environment python="$TRAVIS_PYTHON_VERSION" pip coverage
52
52
- source activate test-environment
53
53
# Install openblas if slycot is being used
54
+ # also install scikit-build for the build process
54
55
- if [[ "$SLYCOT" != "" ]]; then
55
- conda install openblas;
56
+ conda install openblas;
57
+ conda install -c conda-forge scikit-build;
56
58
fi
57
59
# Make sure to look in the right place for python libraries (for slycot)
58
60
- export LIBRARY_PATH="$HOME/miniconda/envs/test-environment/lib"
@@ -65,10 +67,11 @@ install:
65
67
- conda install $SCIPY matplotlib
66
68
# Build slycot from source
67
69
# For python 3, need to provide pointer to python library
70
+ # Use "Unix Makefiles" as generator, because Ninja cannot handle Fortran
68
71
# ! git clone https://github.com/repagh/Slycot.git slycot;
69
72
- if [[ "$SLYCOT" != "" ]]; then
70
73
git clone https://github.com/python-control/Slycot.git slycot;
71
- cd slycot; python setup.py install; cd ..;
74
+ cd slycot; python setup.py install -G "Unix Makefiles" ; cd ..;
72
75
fi
73
76
74
77
# command to run tests
You can’t perform that action at this time.
0 commit comments