cxxopts/.travis.yml

71 lines
1.8 KiB
YAML
Raw Normal View History

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:
2017-11-30 00:17:04 +03:00
- linux
2016-08-25 01:49:56 +03:00
matrix:
include:
2017-11-30 00:17:04 +03:00
- os: linux
env: COMPILER=g++-4.9
addons:
apt:
packages:
- g++-4.9
sources: &sources
- llvm-toolchain-trusty-3.8
- llvm-toolchain-trusty-5.0
2017-11-30 00:17:04 +03:00
- ubuntu-toolchain-r-test
- os: linux
env: COMPILER=g++-4.9 UNICODE_OPTIONS=-DCXXOPTS_USE_UNICODE_HELP=Yes
addons:
apt:
packages:
- g++-4.9
sources: *sources
2016-08-25 01:49:56 +03:00
- 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
2016-11-30 10:15:14 +03:00
- os: linux
2016-11-30 12:52:57 +03:00
env: COMPILER=g++-5 UNICODE_OPTIONS=-DCXXOPTS_USE_UNICODE_HELP=Yes
2016-11-30 10:15:14 +03:00
addons:
apt:
packages:
- g++-5
sources: *sources
2017-12-04 00:24:20 +03:00
- os: linux
env: COMPILER=clang++-3.8 CXXFLAGS=-stdlib=libc++
addons:
apt:
packages:
- clang-3.8
- libc++-dev
sources: *sources
- os: linux
env: COMPILER=clang++-3.8 CXXFLAGS=-stdlib=libc++ UNICODE_OPTIONS=-DCXXOPTS_USE_UNICODE_HELP=Yes
addons:
apt:
packages:
- clang-3.8
- libc++-dev
sources: *sources
- os: linux
env: COMPILER=clang++-5.0 CMAKE_OPTIONS=-DCXXOPTS_CXX_STANDARD=17
addons:
apt:
packages:
- clang-5.0
- g++-5
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
-DCMAKE_CXX_FLAGS=$CXXFLAGS $UNICODE_OPTIONS $CMAKE_OPTIONS .
2016-08-26 01:34:25 +03:00
&& make && make ARGS=--output-on-failure test
2016-11-30 23:58:20 +03:00
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install icu4c; fi