diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2020-07-20 09:28:02 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2020-07-20 09:28:02 +0200 |
commit | 536cb6b66050b76bde6b477e89223b77e6cff49f (patch) | |
tree | be72407dbb50d2cb89ccd22da5bc637ef3c7e4da /.travis.yml | |
parent | e194e0abd398243d5124bb9e3849f62635e8c865 (diff) | |
download | ODR-AudioEnc-536cb6b66050b76bde6b477e89223b77e6cff49f.tar.gz ODR-AudioEnc-536cb6b66050b76bde6b477e89223b77e6cff49f.tar.bz2 ODR-AudioEnc-536cb6b66050b76bde6b477e89223b77e6cff49f.zip |
Travis: add OSX build
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 19 |
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 |