forked from BlueBrain/Tide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (32 loc) · 984 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
notifications:
email:
on_success: never
language: cpp
sudo: false
os:
- osx
env:
global:
- NINJA_STATUS="[%p %u/%t@%o %r]"
- PROJECT_NAME=${PWD##*/}
- CMAKE_PREFIX_PATH=/usr/local/opt/qt5:$CMAKE_PREFIX_PATH
- LIBJPEGTURBO_ROOT=/usr/local/opt/jpeg-turbo
matrix:
- BUILD_TYPE=Debug
- BUILD_TYPE=Release
before_install:
- brew update
- brew outdated cmake || brew upgrade cmake
- brew install gcc || brew link --overwrite gcc
- brew install doxygen ninja
- brew install ffmpeg jpeg-turbo qt5
- brew install openmpi
- brew install python@2 || brew link --overwrite python@2 # fix poppler dependency install
- brew install poppler
- brew install libwebsockets openssl
script:
- export CPATH=$(brew --prefix openssl)/include
- mkdir $BUILD_TYPE
- cd $BUILD_TYPE
- cmake -GNinja -DCLONE_SUBPROJECTS=ON -DCMAKE_INSTALL_PREFIX=$PWD/install -DCMAKE_BUILD_TYPE=$BUILD_TYPE ..
- ninja all && ninja $PROJECT_NAME-tests && ninja install