Set macOS deployment target in Travis CI build

(cherry picked from commit 5dd207048c)
This commit is contained in:
Camilla Löwy 2019-12-25 22:54:23 +01:00
parent e8d4cc327d
commit 821873974a

View File

@ -75,12 +75,14 @@ matrix:
env:
- BUILD_SHARED_LIBS=ON
- CFLAGS=-Werror
- MACOSX_DEPLOYMENT_TARGET=10.8
- os: osx
sudo: false
name: "Cocoa static library"
env:
- BUILD_SHARED_LIBS=OFF
- CFLAGS=-Werror
- MACOSX_DEPLOYMENT_TARGET=10.8
script:
- if grep -Inr '\s$' src include docs tests examples CMake *.md .gitattributes .gitignore; then
echo Trailing whitespace found, aborting;