Added Travic CI configuration file.

This commit is contained in:
Patrick Lühne 2016-05-20 22:19:40 +02:00
parent 22956f3265
commit 0727db0ee1

21
.travis.yml Normal file
View File

@ -0,0 +1,21 @@
# Use container-based distribution
sudo: false
language: c++
matrix:
include:
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- boost-latest
packages:
- g++-5
- libboost1.55-all-dev
- libgtest-dev
env: COMPILER=g++-5
script:
- mkdir build
- cd build
- cmake .. -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTS=ON -DCMAKE_CXX_COMPILER=$COMPILER
- make run-tests