From 033b9744d7921669167816dbb54b4471f38ea8ac Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 28 Feb 2018 21:22:16 -0600 Subject: [PATCH] travis: build for osx and avahi --- .travis.yml | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5e33312..ed899d1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,17 +10,30 @@ sudo: required dist: trusty language: cpp -compiler: gcc + +matrix: + include: + - os: linux + compiler: gcc + env: PYTHON_EXECUTABLE=/usr/bin/python PYTHON3_EXECUTABLE=/usr/bin/python3 + - os: osx + compiler: clang + env: PYTHON_EXECUTABLE=/usr/local/bin/python2 PYTHON3_EXECUTABLE=/usr/local/bin/python3 env: global: - INSTALL_PREFIX=/usr/local - - SOAPY_SDR_BRANCH=master - matrix: - - BUILD_TYPE=Debug - BUILD_TYPE=Release +# whitelist +branches: + only: + - master + - maint + install: + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq libavahi-client-dev; fi; + # install SoapySDR from source - git clone https://github.com/pothosware/SoapySDR.git - pushd SoapySDR