2016-08-08 09:28:33 +02:00
|
|
|
language: cpp
|
|
|
|
compiler:
|
2016-08-08 09:52:29 +02:00
|
|
|
- gcc
|
|
|
|
- clang
|
2016-08-08 10:22:24 +02:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
2016-08-08 09:59:52 +02:00
|
|
|
sudo: true
|
|
|
|
before_script:
|
2016-08-08 10:25:29 +02:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install gcc-multilib g++-multilib; fi
|
2016-08-08 09:28:33 +02:00
|
|
|
script:
|
2016-08-08 09:52:29 +02:00
|
|
|
- mkdir -p build && cd build
|
|
|
|
- cmake ../ -DCMAKE_EXE_LINKER_FLAGS="-Wl,--no-undefined" -DUSE_VOICEMGR=0 && make -j3 && rm -rf *
|
|
|
|
- cmake ../ -DCMAKE_EXE_LINKER_FLAGS="-Wl,--no-undefined" -DUSE_VOICEMGR=1 && make -j3 && rm -rf *
|