mirror of
https://github.com/simon987/wavelib.git
synced 2025-04-18 01:46:41 +00:00
42 lines
607 B
YAML
42 lines
607 B
YAML
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- kalakris-cmake
|
|
- kubuntu-backports
|
|
- boost-latest
|
|
packages:
|
|
- cmake
|
|
- libboost1.55-all-dev
|
|
|
|
language: cpp
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
compiler:
|
|
- gcc
|
|
- clang
|
|
|
|
env:
|
|
- BUILD_CONFIG=Release
|
|
- BUILD_CONFIG=Debug
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- compiler: clang
|
|
|
|
before_install:
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install libboost-dev ; fi
|
|
install:
|
|
|
|
before_script:
|
|
- mkdir build.ci
|
|
- cd build.ci
|
|
- cmake .. -DBUILD_UT=ON -DCMAKE_BUILD_TYPE=$BUILD_CONFIG -DUSE_STATIC_BOOST=YES
|
|
|
|
script:
|
|
- cmake --build .
|
|
- ctest -VV
|