~keithw/mosh/trunk

« back to all changes in this revision

Viewing changes to .travis.yml

  • Committer: John Hood
  • Date: 2017-11-09 00:57:24 UTC
  • Revision ID: git-v1:6fb4d0dfe2060942d2c6b3f47289ff262b9ecab5
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.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
sudo: required
14
14
dist: trusty
15
15
 
16
 
# Currently we're using the Travis Xcode 6.4/OS X 10.10 image to
17
 
# get i386/x86_64 fat binaries.
18
 
osx_image: xcode6.4
 
16
# Use macOS 10.12 + Xcode 9.1 + DEPLOYMENT_TARGET=10.12
 
17
osx_image: xcode9.1
19
18
 
20
19
# Linux dependencies
21
20
addons:
71
70
  - |
72
71
    if test osx = "${TRAVIS_OS_NAME}" && test -n "${TRAVIS_TAG}"; then
73
72
      cd macosx &&
74
 
        env ZERO_AR_DATE=1 MACOSX_DEPLOYMENT_TARGET=10.10 ./build.sh &&
 
73
        env ZERO_AR_DATE=1 MACOSX_DEPLOYMENT_TARGET=10.12 ./build.sh &&
75
74
        shasum -a 256 "${TRAVIS_TAG}.pkg" "${TRAVIS_TAG}-osx-build-report.tbz" &&
76
75
        cd -
77
76
    fi