Adding travis integration
Starting with a linux container with an apt add-on for new g++ compiler.
This commit is contained in:
parent
733f673854
commit
2404098a2d
27
.travis.yml
Normal file
27
.travis.yml
Normal 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
|
||||
Loading…
Reference in New Issue
Block a user