mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-08 21:04:26 +00:00
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.
This commit is contained in:
parent
460b73ebda
commit
73b4fb09dc
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…
x
Reference in New Issue
Block a user