2016-08-25 01:49:56 +03:00
|
|
|
sudo: required
|
2016-08-25 11:58:12 +03:00
|
|
|
dist: trusty
|
2016-08-26 01:44:46 +03:00
|
|
|
language: cpp
|
2016-08-28 06:05:55 +03:00
|
|
|
os:
|
|
|
|
- osx
|
2016-11-30 10:12:03 +03:00
|
|
|
env:
|
|
|
|
-
|
|
|
|
- UNICODE_OPTIONS=-DCXXOPTS_USE_UNICODE_HELP
|
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 11:26:34 +03:00
|
|
|
env: COMPILER=clang++-3.8 CXXFLAGS=-stdlib=libc++
|
2016-08-25 01:49:56 +03:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- clang-3.8
|
2016-08-26 11:36:24 +03:00
|
|
|
- libc++-dev
|
2016-08-25 01:49:56 +03:00
|
|
|
sources: *sources
|
2016-08-26 01:36:58 +03:00
|
|
|
script: >
|
2016-08-26 11:26:34 +03:00
|
|
|
cmake -DCXXOPTS_BUILD_TESTS=ON -DCMAKE_CXX_COMPILER=$COMPILER
|
2016-11-30 10:12:03 +03:00
|
|
|
-DCMAKE_CXX_FLAGS=$CXXFLAGS $UNICODE_OPTIONS .
|
2016-08-26 01:34:25 +03:00
|
|
|
&& make && make ARGS=--output-on-failure test
|