]> granicus.if.org Git - libexpat/commitdiff
Travis CI: Test OSX
authorStephen <stephengroat@users.noreply.github.com>
Wed, 27 Sep 2017 16:50:18 +0000 (09:50 -0700)
committerSebastian Pipping <sebastian@pipping.org>
Sun, 27 Jan 2019 20:58:06 +0000 (21:58 +0100)
Use Brewfile for dependencies

.travis.yml
Brewfile [new file with mode: 0644]

index 62b5f98254cb2e6e6d3e3dada07284f346cce889..b626bdbce47075596ec3d818f39ad02eeead1dd7 100644 (file)
@@ -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 (file)
index 0000000..47e2bb4
--- /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"