2018-03-28 11:44:20 +02:00
|
|
|
# Travis CI script
|
|
|
|
|
2018-03-29 17:57:59 +02:00
|
|
|
language: cpp
|
2018-03-28 11:44:20 +02:00
|
|
|
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
#- osx
|
|
|
|
|
|
|
|
dist: trusty
|
|
|
|
|
|
|
|
cache: ccache
|
|
|
|
|
2018-03-29 17:57:59 +02:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
|
2018-03-28 11:44:20 +02:00
|
|
|
env:
|
|
|
|
matrix:
|
|
|
|
# - BUILD_TYPE=cmake DRAFT=enabled
|
|
|
|
- BUILD_TYPE=cmake
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
# - env: BUILD_TYPE=cmake DO_CLANG_FORMAT_CHECK=1 CLANG_FORMAT=/usr/local/clang-5.0.0/bin/clang-format
|
|
|
|
# os: linux
|
|
|
|
# addons:
|
|
|
|
# apt:
|
|
|
|
# sources:
|
|
|
|
# - llvm-toolchain-trusty-5.0
|
|
|
|
# packages:
|
|
|
|
# - clang-5.0
|
|
|
|
|
|
|
|
sudo: required
|
|
|
|
|
2018-03-29 17:57:59 +02:00
|
|
|
before_install:
|
|
|
|
- pip install --user cpp-coveralls
|
|
|
|
|
2018-03-28 11:44:20 +02:00
|
|
|
# Build and check this project according to the BUILD_TYPE
|
|
|
|
script:
|
|
|
|
- ./ci_build.sh
|
2018-03-29 17:57:59 +02:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- coveralls --root . -E ".*external.*" -E ".*CMakeFiles.*" -E ".*tests/"
|