cxxopts/.travis.yml
2016-08-26 18:36:24 +10:00

27 lines
633 B
YAML

sudo: required
dist: trusty
language: cpp
matrix:
include:
- os: linux
env: COMPILER=g++-5
addons:
apt:
packages:
- g++-5
sources: &sources
- llvm-toolchain-precise-3.8
- ubuntu-toolchain-r-test
- os: linux
env: COMPILER=clang++-3.8 CXXFLAGS=-stdlib=libc++
addons:
apt:
packages:
- clang-3.8
- libc++-dev
sources: *sources
script: >
cmake -DCXXOPTS_BUILD_TESTS=ON -DCMAKE_CXX_COMPILER=$COMPILER
-DCMAKE_CXX_FLAGS=$CXXFLAGS .
&& make && make ARGS=--output-on-failure test