From 536cb6b66050b76bde6b477e89223b77e6cff49f Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 20 Jul 2020 09:28:02 +0200 Subject: Travis: add OSX build --- .travis.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7ad56bd..5429dcd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,11 @@ language: c++ matrix: include: + - env: CONF="" + os: osx + osx_image: xcode11 + compiler: clang + - env: CONF="" os: linux arch: amd64 @@ -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 -- cgit v1.2.3