insert_final_newline = true
# 2 space indentation
-[*.{h,cpp,tcc,cmake}]
+[*.{h,cpp,tcc,cmake,yml}]
indent_style = space
indent_size = 2
# Trim traling whitespaces
-[*.{h,cpp,tcc,cmake}]
+[*.{h,cpp,tcc,cmake,yml}]
trim_trailing_whitespace = true
# UTF-8 without BOM
language: cpp
+
sudo: false
+
+os:
+ - linux
+ - osx
+
compiler:
- gcc
- clang
+
addons:
apt:
packages:
- - libcppunit-dev
+ - libcppunit-dev
- zlib1g-dev
+
+matrix:
+ exclude:
+ - os: osx
+ compiler: gcc
+
+install:
+ - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install cppunit; fi
+
script: cmake -DBUILD_TESTS=ON -DBUILD_EXAMPLES=ON -DBUILD_BINDINGS=ON . && make && make check