Browse Source

Reduce macOS CI build time

The `homebrew: update: true` directive updates the whole macOS env which
is unnecessary and increases build time excessively. This commit reverts
back to the old way.
Also the pre-installed cmake & pkg-config version is sufficient so no need
to outdate them.
adaptive-webui-19844
Chocobo1 6 years ago
parent
commit
73b4fb09dc
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 13
      .travis.yml

13
.travis.yml

@ -67,15 +67,6 @@ addons:
- zlib1g-dev - zlib1g-dev
# required for Qt 5.9 from 'beineri' PPA # required for Qt 5.9 from 'beineri' PPA
- libgl1-mesa-dev - libgl1-mesa-dev
homebrew:
update: true
packages:
- [ccache, colormake]
- boost
- libtorrent-rasterbar
- openssl
- qt
- zlib
before_install: before_install:
# only allow specific build for coverity scan, others will stop # only allow specific build for coverity scan, others will stop
@ -125,8 +116,8 @@ install:
# dependencies # dependencies
PATH="/usr/local/opt/ccache/libexec:$PATH" PATH="/usr/local/opt/ccache/libexec:$PATH"
brew outdated cmake || brew upgrade cmake brew update > /dev/null
brew outdated pkg-config || brew upgrade pkg-config brew install ccache colormake boost libtorrent-rasterbar openssl qt zlib
brew link --force qt zlib brew link --force qt zlib
if [ "$build_system" = "cmake" ]; then if [ "$build_system" = "cmake" ]; then

Loading…
Cancel
Save