diff options
author | Stefan Schmidt <s.schmidt@samsung.com> | 2019-06-24 09:10:56 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@samsung.com> | 2019-06-24 09:10:56 -0400 |
commit | 61235a6e5c47a564d217576fbcdef4e3c0a59b6f (patch) | |
tree | de9766628c55fea957b17ad695642eecfd5b0b45 /.travis.yml | |
parent | dafd23655f2a9408d9e979b93b20fbad68c18fc3 (diff) | |
download | efl-61235a6e5c47a564d217576fbcdef4e3c0a59b6f.tar.gz |
ci: travis: osx: switch to newer macos image and brew addon for packages
Summary:
One of the time consuming parts of the macos build we have is the
installing of the efl dependencies as packages from brew.
The brew update command alone is often taking 5m to run.
To avoid running brew update at all we are switching to a newer osx
image from Travis, which comes with a newer set of brew metadata and
gets us around a brew update for now. Together with this we are also
switching from our own dependency install script to the brew package
addon provided by travis already.
In my testing this shows we are only spending 270s in the brew package
updates comapred to 635s before. So we have a 6 minutes speedup for
every osx build!
Depends on D9161
Reviewers: zmike, bu5hm4n
Reviewed By: zmike
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D9162
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index c85f52e709..980a029c35 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,36 @@ cache: sudo: required dist: trusty +osx_image: xcode10.2 + +addons: + homebrew: + packages: + - gettext + - check + - bullet + - dbus + - fontconfig + - freetype + - fribidi + - gst-plugins-good + - gstreamer + - luajit + - openssl + - webp + - libsndfile + - glib + - libspectre + - libraw + - librsvg + - poppler + - lz4 + - pulseaudio + - ccache + - ninja + - python3 + - libffi + env: global: - EIO_MONITOR_POLL=1 @@ -47,7 +77,7 @@ before_install: rm -rf $HOME/Library/Caches/Homebrew rm -rf $HOME/cachedir/Homebrew/Homebrew mv $HOME/cachedir/Homebrew $HOME/Library/Caches/Homebrew - .ci/ci-osx-deps.sh + pip3 install meson fi before_script: |