From 9aaaac076ab3f8ead296c2709956f107e4510959 Mon Sep 17 00:00:00 2001 From: Stephen Date: Wed, 27 Sep 2017 09:50:18 -0700 Subject: [PATCH] Travis CI: Test OSX Use Brewfile for dependencies --- .travis.yml | 13 ++++++++++++- Brewfile | 12 ++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 Brewfile diff --git a/.travis.yml b/.travis.yml index 62b5f982..b626bdbc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,9 @@ # Licensed under the MIT license language: cpp +os: + - linux + - osx dist: trusty # Unbreak clang address sanitizer, needs SYS_PTRACE @@ -14,7 +17,7 @@ git: env: global: - - CFLAGS='-g -pipe' + - CFLAGS='-g -pipe' PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH" matrix: - MODE=address - MODE=cmake @@ -22,7 +25,15 @@ env: - MODE=distcheck - MODE=lib-coverage +matrix: + exclude: + - os: osx + env: MODE=lib-coverage + addons: + homebrew: + update: true + brewfile: true apt: packages: - cmake diff --git a/Brewfile b/Brewfile new file mode 100644 index 00000000..47e2bb47 --- /dev/null +++ b/Brewfile @@ -0,0 +1,12 @@ +brew "automake" +brew "autoconf" +brew "libtool" +brew "cmake" +brew "docbook2x" +brew "rpm" +brew "coreutils" +brew "ghostscript" +brew "gcc" +brew "m4" +brew "gettext" +brew "dos2unix" -- 2.40.0