2018-07-23 00:46:31 +00:00
|
|
|
language: cpp
|
|
|
|
|
|
|
|
os:
|
|
|
|
- linux
|
2018-07-23 15:05:14 +00:00
|
|
|
- osx
|
2018-07-23 00:46:31 +00:00
|
|
|
|
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
- clang
|
2018-07-22 15:27:39 +00:00
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- cmake
|
|
|
|
|
2018-07-23 01:32:42 +00:00
|
|
|
before_install:
|
2018-07-23 01:39:44 +00:00
|
|
|
- export LD_LIBRARY_PATH=$(if [[ $CXX == "clang++" ]]; then echo -n '/usr/local/clang/lib'; fi)
|
2018-07-23 01:32:42 +00:00
|
|
|
|
2018-07-22 15:27:39 +00:00
|
|
|
before_script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- cmake ..
|
|
|
|
|
|
|
|
script:
|
|
|
|
- make -j4
|
2018-07-23 01:07:28 +00:00
|
|
|
- ctest --verbose
|
2018-07-22 15:27:39 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: never
|
2018-07-23 15:05:14 +00:00
|
|
|
on_failure: never
|