Add protobuf path on OS X

Disable linux build until a host with QT >= 5.6 is available
This commit is contained in:
Martin Tůma 2018-12-17 17:31:33 +01:00
parent 75e61e956e
commit 368c53307d

View File

@ -1,7 +1,7 @@
language: c++
os:
- linux
# - linux
- osx
env:
@ -16,5 +16,6 @@ install:
script:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then PATH=/usr/local/opt/qt/bin/:${PATH}; fi
- qmake pbfplugin.pro
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then qmake PROTOBUF=/usr/local pbfplugin.pro; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then qmake pbfplugin.pro; fi
- make