Fix OSX travis build

This commit is contained in:
Srivats P 2017-12-03 19:37:58 +05:30
parent e05fa5a690
commit 76476a2d58

View File

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