Use homebrew addon in travis.yml
This commit is contained in:
parent
c49f402e36
commit
5b49a139d3
11
.travis.yml
11
.travis.yml
@ -14,12 +14,8 @@ matrix:
|
|||||||
- os: osx
|
- os: osx
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
|
|
||||||
before_install:
|
before_script:
|
||||||
- "if [ $TRAVIS_OS_NAME = 'osx' ]; then \
|
- "if [ $TRAVIS_OS_NAME = 'osx' ]; then \
|
||||||
brew update && \
|
|
||||||
brew install qt5 && \
|
|
||||||
brew link qt5 --force && \
|
|
||||||
brew install protobuf && \
|
|
||||||
ls -lR /usr/local/include/google/protobuf; \
|
ls -lR /usr/local/include/google/protobuf; \
|
||||||
which clang++; \
|
which clang++; \
|
||||||
clang++ -E -x c++ - -v < /dev/null; \
|
clang++ -E -x c++ - -v < /dev/null; \
|
||||||
@ -38,7 +34,10 @@ addons:
|
|||||||
- protobuf-compiler
|
- protobuf-compiler
|
||||||
- libnl-3-dev
|
- libnl-3-dev
|
||||||
- libnl-route-3-dev
|
- libnl-route-3-dev
|
||||||
|
homebrew:
|
||||||
|
packages:
|
||||||
|
- qt5
|
||||||
|
- protobuf
|
||||||
script:
|
script:
|
||||||
- QT_SELECT=qt5 qmake -config debug
|
- QT_SELECT=qt5 qmake -config debug
|
||||||
- make
|
- make
|
||||||
|
Loading…
Reference in New Issue
Block a user