summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2019-04-19 15:37:22 +0100
committerAdam Jackson <ajax@nwnk.net>2019-05-02 15:42:58 +0000
commitf0e22a76c93c98d67dbd5c966812b2901de5ed49 (patch)
treef3164a4d1a2d8796e030dec64bc5559ec9984297 /.travis.yml
parent0bdfa5bc0ab050ce74c2289178f2f89790e2c8ef (diff)
travis: Add OSX meson build to matrix
Unfortunately, a 'brew update' is currently needed to get the meson >= 0.46.0 required by xserver.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml21
1 files changed, 15 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index 15677891b..654ab5ba5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,18 +1,27 @@
language: c
-cache: ccache
+cache:
+ ccache: true
+ directories:
+ - $HOME/Library/Caches/Homebrew
branches:
except:
- /appveyor.*/
+os: osx
+osx_image: xcode9.2
+
matrix:
include:
- - os: osx
- osx_image: xcode9.2
- env: DISTRO=xcode9.2
+ - env: TOOL=meson
+ - env: TOOL=autotools
install:
- - HOMEBREW_NO_AUTO_UPDATE=1 brew install ccache
+ - brew update
+ - HOMEBREW_NO_AUTO_UPDATE=1 brew install ccache meson
script:
- - ./test/scripts/build-travis-osx.sh
+ - ./test/scripts/build-travis-osx.sh $TOOL
- ccache -s
+
+before_cache:
+ - brew cleanup