aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2020-07-20 09:28:02 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2020-07-20 09:28:02 +0200
commit536cb6b66050b76bde6b477e89223b77e6cff49f (patch)
treebe72407dbb50d2cb89ccd22da5bc637ef3c7e4da
parente194e0abd398243d5124bb9e3849f62635e8c865 (diff)
downloadODR-AudioEnc-536cb6b66050b76bde6b477e89223b77e6cff49f.tar.gz
ODR-AudioEnc-536cb6b66050b76bde6b477e89223b77e6cff49f.tar.bz2
ODR-AudioEnc-536cb6b66050b76bde6b477e89223b77e6cff49f.zip
Travis: add OSX build
-rw-r--r--.travis.yml19
1 files changed, 18 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 7ad56bd..5429dcd 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,6 +3,11 @@ language: c++
matrix:
include:
- env: CONF=""
+ os: osx
+ osx_image: xcode11
+ compiler: clang
+
+ - env: CONF=""
os: linux
arch: amd64
dist: bionic
@@ -67,9 +72,21 @@ matrix:
compiler: gcc
addons: *linuxaddons
+before_install:
+ - |
+ if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
+ brew update
+ brew install automake || true
+ brew install zeromq || true
+ fi
+
script:
- |
./bootstrap
- CC=gcc-9 CXX=g++-9 ./configure $CONF
+ if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then
+ export CC=gcc-9
+ export CXX=g++-9
+ fi
+ ./configure $CONF
make