From 2f449dea0baa905ee1c871d4bef013d97b6a3370 Mon Sep 17 00:00:00 2001 From: Tom Finegan Date: Thu, 7 Sep 2017 12:14:33 -0700 Subject: [PATCH] Add mac support to travis config. --- .travis.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7122892..b07e219 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,8 @@ -os: linux +os: + - linux + - osx dist: trusty +osx_image: xcode8.3 language: cpp compiler: - clang @@ -14,6 +17,9 @@ addons: - ccache - cmake +before_install: + - if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then brew install ccache; fi + script: # Output version info for compilers, cmake, and make - ${CC} -v