install CMake >= 3.12 on macOS

[skip appveyor]
This commit is contained in:
Stephen McDowell 2019-10-07 07:51:03 -04:00
parent 3988fc18ba
commit 9d6f8c7441

View File

@ -81,6 +81,16 @@ matrix:
env:
- BUILD_SHARED_LIBS=OFF
- CFLAGS=-Werror
install:
# Travis CI macOS image ships with CMake 3.11.3, need 3.12 or later.
# Avoid `brew`, takes too long.
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then
virtualenv venv
source venv/bin/activate
pip install cmake
fi
script:
- if grep -Inr '\s$' src include docs tests examples CMake *.md .gitattributes .gitignore; then
echo Trailing whitespace found, aborting;