Added OSX target to Travis

This commit is contained in:
2019-01-11 16:57:48 -08:00
parent f181d0eda1
commit 9b761db824

View File

@@ -7,6 +7,7 @@ branches:
os: os:
- linux - linux
- osx
addons: addons:
apt: apt:
@@ -16,6 +17,10 @@ addons:
- libc++-dev - libc++-dev
- ninja-build - ninja-build
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install ninja; fi
env: env:
- CMAKE_BUILD_TYPE=DEBUG - CMAKE_BUILD_TYPE=DEBUG
- CMAKE_BUILD_TYPE=RELEASE - CMAKE_BUILD_TYPE=RELEASE