enable OS X build with Xcode 8.2

This commit is contained in:
Claudio Bantaloukas 2016-12-24 01:05:24 +01:00 committed by thez3ro
parent 2de5a9d281
commit c6ecf48ccd
No known key found for this signature in database
GPG Key ID: F628F9E41DD7C073

View File

@ -5,7 +5,9 @@ services: [docker]
os:
- linux
# - osx
- osx
osx_image: xcode8.2
# Define clang compiler without any frills
compiler:
@ -26,6 +28,7 @@ before_install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew ls | grep -wq cmake || brew install cmake; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew ls | grep -wq qt5 || brew install qt5; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew ls | grep -wq libgcrypt || brew install libgcrypt; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew ls | grep -wq libmicrohttpd || brew install libmicrohttpd; fi
before_script:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then CMAKE_ARGS="-DCMAKE_PREFIX_PATH=/usr/local/opt/qt5"; fi