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: env:
- BUILD_SHARED_LIBS=ON - BUILD_SHARED_LIBS=ON
- CFLAGS=-Werror - CFLAGS=-Werror
- MACOSX_DEPLOYMENT_TARGET=10.8
- os: osx - os: osx
sudo: false sudo: false
name: "Cocoa static library" name: "Cocoa static library"
env: env:
- BUILD_SHARED_LIBS=OFF - BUILD_SHARED_LIBS=OFF
- CFLAGS=-Werror - CFLAGS=-Werror
- MACOSX_DEPLOYMENT_TARGET=10.8
script: script:
- if grep -Inr '\s$' src include docs tests examples CMake *.md .gitattributes .gitignore; then - if grep -Inr '\s$' src include docs tests examples CMake *.md .gitattributes .gitignore; then
echo Trailing whitespace found, aborting; echo Trailing whitespace found, aborting;