2014-09-09 07:16:35 +02:00
|
|
|
# language type:
|
2015-01-12 22:14:36 +01:00
|
|
|
language:
|
|
|
|
- cpp
|
|
|
|
- Objective-c
|
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: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
|
2015-01-14 21:10:23 +01:00
|
|
|
- if [ "$CXX" == "clang++" ]; then BUILDER=clang; else BUILDER=gcc; fi
|
2014-09-09 07:16:35 +02:00
|
|
|
|
2014-09-09 07:40:12 +02:00
|
|
|
install:
|
2014-10-17 21:56:43 +02:00
|
|
|
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
|
|
|
|
- sudo apt-get update -qq
|
2015-01-14 21:10:23 +01:00
|
|
|
- sudo apt-get install -qq libstdc++-4.9-dev
|
2014-10-17 21:56:43 +02:00
|
|
|
- sudo apt-get install -qq g++-4.8
|
|
|
|
- sudo rm /usr/bin/gcc /usr/bin/g++
|
|
|
|
- sudo ln -s /usr/bin/gcc-4.8 /usr/bin/gcc
|
2014-10-17 22:02:12 +02:00
|
|
|
- sudo ln -s /usr/bin/g++-4.8 /usr/bin/g++
|
2014-09-09 07:40:12 +02:00
|
|
|
|
2014-09-09 07:16:35 +02:00
|
|
|
# build sequence with Lutin :
|
2014-09-09 07:28:21 +02:00
|
|
|
script:
|
2015-01-14 21:10:23 +01:00
|
|
|
- ./build/lutin.py -C -P -c$BUILDER -mdebug -p ewol etk_test exml_test ejson_test enettest
|
|
|
|
- ./out/Linux_x86_64/debug/staging/$BUILDER/etk_test/usr/bin/etk_test
|
|
|
|
- ./out/Linux_x86_64/debug/staging/$BUILDER/ejson_test/usr/bin/ejson_test
|
|
|
|
- ./out/Linux_x86_64/debug/staging/$BUILDER/exml_test/usr/bin/exml_test
|
2014-09-09 07:23:31 +02:00
|
|
|
|
|
|
|
#send e-mail on compilation result:
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
- yui.heero@gmail.com
|