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)
|
- name: macOS (Debug)
|
||||||
if: tag IS NOT present
|
if: tag IS NOT present
|
||||||
os: osx
|
os: osx
|
||||||
osx_image: xcode8
|
osx_image: xcode9.2
|
||||||
|
env: HOMEBREW_NO_AUTO_UPDATE=1
|
||||||
cache: ccache
|
cache: ccache
|
||||||
before_install:
|
before_install:
|
||||||
- brew update
|
|
||||||
- brew install ccache
|
- brew install ccache
|
||||||
- brew install protobuf --without-python@2
|
- brew install protobuf
|
||||||
- brew install qt
|
- brew install qt
|
||||||
script: bash ./.ci/travis-compile.sh --server --install --debug
|
script: bash ./.ci/travis-compile.sh --server --install --debug
|
||||||
|
|
||||||
- name: macOS (Release)
|
- name: macOS (Release)
|
||||||
if: (branch = master AND NOT type = pull_request) OR tag IS present
|
if: (branch = master AND NOT type = pull_request) OR tag IS present
|
||||||
os: osx
|
os: osx
|
||||||
osx_image: xcode8
|
osx_image: xcode9.2
|
||||||
|
env: HOMEBREW_NO_AUTO_UPDATE=1
|
||||||
cache: ccache
|
cache: ccache
|
||||||
before_install:
|
before_install:
|
||||||
- brew update
|
|
||||||
- brew install ccache
|
- brew install ccache
|
||||||
- brew install protobuf --without-python@2
|
- brew install protobuf
|
||||||
- brew install qt
|
- brew install qt
|
||||||
script: bash ./.ci/travis-compile.sh --server --package "$TRAVIS_OS_NAME" --release
|
script: bash ./.ci/travis-compile.sh --server --package "$TRAVIS_OS_NAME" --release
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue