2016-08-25 01:49:56 +03:00
|
|
|
sudo: required
|
2016-08-25 11:58:12 +03:00
|
|
|
dist: trusty
|
2016-08-26 01:24:55 +03:00
|
|
|
language: c++
|
|
|
|
os:
|
|
|
|
- osx
|
2016-08-25 01:49:56 +03:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
2016-08-26 01:34:25 +03:00
|
|
|
env: COMPILER=g++-5
|
2016-08-25 01:49:56 +03:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- g++-5
|
|
|
|
sources: &sources
|
|
|
|
- llvm-toolchain-precise-3.8
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
- os: linux
|
2016-08-26 01:34:25 +03:00
|
|
|
env: COMPILER=clang++-3.8
|
2016-08-25 01:49:56 +03:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- clang-3.8
|
|
|
|
sources: *sources
|
2016-08-26 01:36:58 +03:00
|
|
|
script: >
|
|
|
|
cmake -DCXXOPTS_BUILD_TESTS=ON -DCMAKE_CXX_COMPILER=$COMPILER .
|
2016-08-26 01:34:25 +03:00
|
|
|
&& make && make ARGS=--output-on-failure test
|