Travis CI: Test OSX

Use Brewfile for dependencies
This commit is contained in:
Stephen 2017-09-27 09:50:18 -07:00 committed by Sebastian Pipping
parent 1d24a9dc61
commit 9aaaac076a
2 changed files with 24 additions and 1 deletions

View 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

12
Brewfile Normal file
View File

@ -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"