aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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