summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2019-06-24 09:10:56 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-06-24 09:10:56 -0400
commit61235a6e5c47a564d217576fbcdef4e3c0a59b6f (patch)
treede9766628c55fea957b17ad695642eecfd5b0b45 /.travis.yml
parentdafd23655f2a9408d9e979b93b20fbad68c18fc3 (diff)
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.yml32
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:
6sudo: required 6sudo: required
7dist: trusty 7dist: trusty
8 8
9osx_image: xcode10.2
10
11addons:
12 homebrew:
13 packages:
14 - gettext
15 - check
16 - bullet
17 - dbus
18 - fontconfig
19 - freetype
20 - fribidi
21 - gst-plugins-good
22 - gstreamer
23 - luajit
24 - openssl
25 - webp
26 - libsndfile
27 - glib
28 - libspectre
29 - libraw
30 - librsvg
31 - poppler
32 - lz4
33 - pulseaudio
34 - ccache
35 - ninja
36 - python3
37 - libffi
38
9env: 39env:
10 global: 40 global:
11 - EIO_MONITOR_POLL=1 41 - EIO_MONITOR_POLL=1
@@ -47,7 +77,7 @@ before_install:
47 rm -rf $HOME/Library/Caches/Homebrew 77 rm -rf $HOME/Library/Caches/Homebrew
48 rm -rf $HOME/cachedir/Homebrew/Homebrew 78 rm -rf $HOME/cachedir/Homebrew/Homebrew
49 mv $HOME/cachedir/Homebrew $HOME/Library/Caches/Homebrew 79 mv $HOME/cachedir/Homebrew $HOME/Library/Caches/Homebrew
50 .ci/ci-osx-deps.sh 80 pip3 install meson
51 fi 81 fi
52 82
53before_script: 83before_script: