OS X TravisCI build

This commit is contained in:
ArsenArsen 2017-07-09 14:42:13 +02:00
parent 62e5f4f395
commit bd7de48dcc
1 changed files with 5 additions and 7 deletions

View File

@ -1,13 +1,11 @@
os: osx os: osx
language: cpp language: cpp
before_install: before_install:
- brew install qt - brew install qt ffmpeg pkg-config
- brew install ffmpeg
- brew link ffmpeg
- brew link qt --force - brew link qt --force
- export CPATH=/usr/local/Cellar/ffmpeg/3.3.2/include:$CPATH - mkdir build
- export LIBRARY_PATH=/usr/local/Cellar/ffmpeg/3.3.2/lib:$LIBRARY_PATH
- export DYLD_LIBRARY_PATH=/usr/local/Cellar/ffmpeg/3.3.2/lib:$DYLD_LIBRARY_PATH
script: script:
- qmake - cd build
- qmake ..
- make -j4 - make -j4