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:
parent
ed2a3f92e0
commit
952f13dec4
1 changed files with 6 additions and 6 deletions
12
.travis.yml
12
.travis.yml
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue