From 6fb4d0dfe2060942d2c6b3f47289ff262b9ecab5 Mon Sep 17 00:00:00 2001 From: John Hood Date: Wed, 8 Nov 2017 01:15:58 -0500 Subject: [PATCH] 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. --- .travis.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index b93220b..6cf6963 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,9 +13,8 @@ language: cpp sudo: required dist: trusty -# Currently we're using the Travis Xcode 6.4/OS X 10.10 image to -# get i386/x86_64 fat binaries. -osx_image: xcode6.4 +# Use macOS 10.12 + Xcode 9.1 + DEPLOYMENT_TARGET=10.12 +osx_image: xcode9.1 # Linux dependencies addons: @@ -71,7 +70,7 @@ script: - | if test osx = "${TRAVIS_OS_NAME}" && test -n "${TRAVIS_TAG}"; then 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" && cd - fi