2014-09-09 07:16:35 +02:00
|
|
|
# language type:
|
2014-09-09 06:10:01 +02:00
|
|
|
language: cpp
|
2014-09-09 07:16:35 +02:00
|
|
|
|
2014-09-09 07:28:21 +02:00
|
|
|
# compilator system:
|
|
|
|
compiler:
|
|
|
|
- clang
|
|
|
|
- gcc
|
|
|
|
|
2014-09-09 07:35:26 +02:00
|
|
|
# Setup different environments to test
|
|
|
|
env:
|
|
|
|
- CPP11=1
|
|
|
|
|
2014-09-09 07:16:35 +02:00
|
|
|
# build branch requested
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2014-09-09 07:23:31 +02:00
|
|
|
- dev
|
2014-09-09 07:16:35 +02:00
|
|
|
|
|
|
|
# previous actions:
|
2014-09-09 07:28:21 +02:00
|
|
|
before_script:
|
|
|
|
- git submodule init
|
|
|
|
- git submodule update
|
2014-09-09 07:16:35 +02:00
|
|
|
|
|
|
|
# build sequence with Lutin :
|
2014-09-09 07:28:21 +02:00
|
|
|
script:
|
|
|
|
- if [ "$CXX" == "clang++" ]; then ./build/lutin.py -cclang -mdebug -p ewol; fi
|
2014-09-09 07:35:26 +02:00
|
|
|
- if [ "$CXX" == "g++" ]; then ./build/lutin.py -cgcc -mdebug -p ewol; fi
|
2014-09-09 07:23:31 +02:00
|
|
|
|
|
|
|
#send e-mail on compilation result:
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
- yui.heero@gmail.com
|