Added Travic CI configuration file.
This commit is contained in:
parent
22956f3265
commit
0727db0ee1
21
.travis.yml
Normal file
21
.travis.yml
Normal 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
|
Reference in New Issue
Block a user