diff --git a/.travis.yml b/.travis.yml index a28f57419..a719fa131 100644 --- a/.travis.yml +++ b/.travis.yml @@ -51,8 +51,10 @@ before_install: - conda create -q -n test-environment python="$TRAVIS_PYTHON_VERSION" pip coverage - source activate test-environment # Install openblas if slycot is being used + # also install scikit-build for the build process - if [[ "$SLYCOT" != "" ]]; then - conda install openblas; + conda install openblas; + conda install -c conda-forge scikit-build; fi # Make sure to look in the right place for python libraries (for slycot) - export LIBRARY_PATH="$HOME/miniconda/envs/test-environment/lib" @@ -65,10 +67,11 @@ install: - conda install $SCIPY matplotlib # Build slycot from source # For python 3, need to provide pointer to python library + # Use "Unix Makefiles" as generator, because Ninja cannot handle Fortran #! git clone https://github.com/repagh/Slycot.git slycot; - if [[ "$SLYCOT" != "" ]]; then git clone https://github.com/python-control/Slycot.git slycot; - cd slycot; python setup.py install; cd ..; + cd slycot; python setup.py install -G "Unix Makefiles"; cd ..; fi # command to run tests
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: