Adding travis integration

Starting with a linux container with an apt add-on for new g++ compiler.
This commit is contained in:
Tushar Maheshwari 2016-09-12 15:29:42 +05:30
parent 733f673854
commit 2404098a2d

27
.travis.yml Normal file
View File

@ -0,0 +1,27 @@
sudo: false
language: generic
cache:
apt: true
matrix:
include:
- os: linux
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- cmake
- g++-5
env: COMPILER=g++-5
before_script:
- cmake --version
- ./deps.sh
script:
- mkdir build
- cd build
- cmake -DCMAKE_CXX_COMPILER=$COMPILER .. && make && make test