update macos (#3461)

Set travis image to xcode9.2: this image uses sierra instead of
el_capitan, el_capitan no longer builds.
Disable homebrew autoupdates, this gives a major speedup.
This commit is contained in:
ebbit1q 2018-11-28 21:51:36 +01:00 committed by Zach H
parent ed2a3f92e0
commit 952f13dec4

View file

@ -83,24 +83,24 @@ matrix:
- name: macOS (Debug)
if: tag IS NOT present
os: osx
osx_image: xcode8
osx_image: xcode9.2
env: HOMEBREW_NO_AUTO_UPDATE=1
cache: ccache
before_install:
- brew update
- brew install ccache
- brew install protobuf --without-python@2
- brew install protobuf
- brew install qt
script: bash ./.ci/travis-compile.sh --server --install --debug
- name: macOS (Release)
if: (branch = master AND NOT type = pull_request) OR tag IS present
os: osx
osx_image: xcode8
osx_image: xcode9.2
env: HOMEBREW_NO_AUTO_UPDATE=1
cache: ccache
before_install:
- brew update
- brew install ccache
- brew install protobuf --without-python@2
- brew install protobuf
- brew install qt
script: bash ./.ci/travis-compile.sh --server --package "$TRAVIS_OS_NAME" --release