Commit 97c659b5 authored by Laurent Belcour's avatar Laurent Belcour

[CI] Adding support for both scons and cmake in the travis configuration

parent 12d5ab6e
language: cpp
matrix:
builder:
- scons
- cmake
include:
- os: linux
dist: trusty
......@@ -28,9 +31,22 @@ before_install:
script:
- git submodule init
- git submodule update
- scons
- scons tests
#- scons tests python -i
- echo ${builder}
- if [ ${builder} = 'scons' ]
- then
- scons
- scons tests
#- scons tests python -i
- else
- mkdir build
- cd build
- cmake ..
- make
- make test
- fi
after_failure:
- cat config.log
- if [ ${builder} = 'scons' ]
- then
- cat config.log
- fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment