mirror of
https://github.com/glfw/glfw.git
synced 2025-10-03 21:30:57 +00:00
install CMake >= 3.12 on macOS
[skip appveyor]
This commit is contained in:
parent
3988fc18ba
commit
9d6f8c7441
10
.travis.yml
10
.travis.yml
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user