Skip to content

Commit 38c46ac

Browse files
authored
install cmake from conda (#427)
1 parent 2777de3 commit 38c46ac

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ python:
1919

2020
# Test against multiple version of SciPy, with and without slycot
2121
#
22-
# Because there were significant changes in SciPy between v0 and v1, we
22+
# Because there were significant changes in SciPy between v0 and v1, we
2323
# test against both of these using the Travis CI environment capability
2424
#
2525
# We also want to test with and without slycot
@@ -84,7 +84,6 @@ before_install:
8484
sudo apt-get update -qq;
8585
sudo apt-get install liblapack-dev libblas-dev;
8686
sudo apt-get install gfortran;
87-
sudo apt-get install cmake;
8887
fi
8988
# use miniconda to install numpy/scipy, to avoid lengthy build from source
9089
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
@@ -104,7 +103,7 @@ before_install:
104103
# Install scikit-build for the build process if slycot is being used
105104
- if [[ "$SLYCOT" = "source" ]]; then
106105
conda install openblas;
107-
conda install -c conda-forge scikit-build;
106+
conda install -c conda-forge cmake scikit-build;
108107
fi
109108
# Make sure to look in the right place for python libraries (for slycot)
110109
- export LIBRARY_PATH="$HOME/miniconda/envs/test-environment/lib"

0 commit comments

Comments
 (0)