Fix travis for OSX builds

This commit is contained in:
Srivats P 2017-01-09 20:02:03 +05:30
parent 13e28cff68
commit 0bf2e99931

View File

@ -1,4 +1,5 @@
language: cpp
osx_image: xcode8.2
os:
- linux
@ -14,7 +15,7 @@ matrix:
compiler: gcc
before_install:
- "if [ $TRAVIS_OS_NAME = 'osx' ]; then brew update && brew install qt && brew install protobuf260; fi"
- "if [ $TRAVIS_OS_NAME = 'osx' ]; then brew update && brew tap cartr/qt4 && brew tap-pin cartr/qt4 && brew install qt && brew install protobuf; fi"
addons:
apt: