Permalink
Fetching contributors…
Cannot retrieve contributors at this time
57 lines (47 sloc) 1.15 KB
sudo: required
dist: trusty
language: cpp
addons:
apt:
packages:
- clang-4.0
- clang-format-4.0
- libcppunit-dev
- libcunit1-dev
- libgoogle-glog-dev
- libssl-dev
sources:
- llvm-toolchain-trusty-4.0
- ubuntu-toolchain-r-test
compiler:
- gcc
- clang
env:
- FLAGS="--disable-silent-rules --enable-debug"
- FLAGS="--disable-silent-rules"
matrix:
include:
- compiler: clang
env: FLAGS="--disable-silent-rules --enable-asan"
before_install:
- sudo apt-get update -qq
install:
- if [[ "$CXX" == "clang++" ]]; then export CXX="clang++-4.0" CC="clang-4.0"; fi
- ./autogen.sh
script:
- mkdir -p build
- cd build
- ../configure $FLAGS
- find .. -regex '.*\.\(hh?\|cc?\|hpp\|cpp\)$$' | xargs clang-format-4.0 -i -style=file
- git diff --exit-code
- make -j 2
- VERBOSE=yes make -j 2 check
branches:
only:
- master
- stable
notifications:
email:
- andreas.koepsel@bisdn.de
slack:
secure: XATCKlM3rAr3QUQ5DycBN14CzlMuP1G/lt5kZon8hSM5gweN+GjhK10ypG0cjpZomwEYiDcmH9hCWAolrUQaIU4QMNFYyiy6w2BARJiC7LMo5YhOT+8jOLGAdOUjOjGC2xEyYP/VAolyYGYq5wiRkHi6fhoseQ0+FWRDZtCM64g=