Switch to MacOS 10.12 for builds and deployment target.

10.10 is now obsolete, and installing packages from Homebrew on Travis
takes a long time because everything is built from source.
This commit is contained in:
John Hood
2017-11-08 01:15:58 -05:00
parent 7cd4312dae
commit 6fb4d0dfe2
+3 -4
View File
@@ -13,9 +13,8 @@ language: cpp
sudo: required sudo: required
dist: trusty dist: trusty
# Currently we're using the Travis Xcode 6.4/OS X 10.10 image to # Use macOS 10.12 + Xcode 9.1 + DEPLOYMENT_TARGET=10.12
# get i386/x86_64 fat binaries. osx_image: xcode9.1
osx_image: xcode6.4
# Linux dependencies # Linux dependencies
addons: addons:
@@ -71,7 +70,7 @@ script:
- | - |
if test osx = "${TRAVIS_OS_NAME}" && test -n "${TRAVIS_TAG}"; then if test osx = "${TRAVIS_OS_NAME}" && test -n "${TRAVIS_TAG}"; then
cd macosx && cd macosx &&
env ZERO_AR_DATE=1 MACOSX_DEPLOYMENT_TARGET=10.10 ./build.sh && env ZERO_AR_DATE=1 MACOSX_DEPLOYMENT_TARGET=10.12 ./build.sh &&
shasum -a 256 "${TRAVIS_TAG}.pkg" "${TRAVIS_TAG}-osx-build-report.tbz" && shasum -a 256 "${TRAVIS_TAG}.pkg" "${TRAVIS_TAG}-osx-build-report.tbz" &&
cd - cd -
fi fi