2015-01-14 21:10:23 +01:00
|
|
|
# language type:
|
|
|
|
language: cpp
|
|
|
|
|
|
|
|
# compilator system:
|
|
|
|
compiler:
|
2015-04-09 23:46:33 +02:00
|
|
|
- clang
|
|
|
|
- gcc
|
2015-01-14 21:10:23 +01:00
|
|
|
|
|
|
|
os:
|
2015-04-09 23:46:33 +02:00
|
|
|
- linux
|
|
|
|
- osx
|
2015-01-14 21:10:23 +01:00
|
|
|
|
|
|
|
# previous actions:
|
|
|
|
before_script:
|
|
|
|
- rm -rf *
|
2015-04-09 23:46:33 +02:00
|
|
|
- git clone https://github.com/HeeroYui/etk.git
|
|
|
|
- git clone https://github.com/HeeroYui/lutin.git
|
|
|
|
- git clone https://github.com/HeeroYui/gtest.git
|
|
|
|
- git clone https://github.com/HeeroYui/exml.git
|
2015-01-14 21:33:25 +01:00
|
|
|
- if [ "$CXX" == "clang++" ]; then BUILDER=clang; else BUILDER=gcc; fi
|
2015-01-14 21:10:23 +01:00
|
|
|
|
|
|
|
#install Gcc to have lisstdc++ 4.8 & gcc 4.8
|
|
|
|
install:
|
|
|
|
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
|
|
|
|
- sudo apt-get update -qq
|
2015-02-17 12:24:49 +01:00
|
|
|
- sudo apt-get install -qq g++-4.9
|
2015-01-14 21:33:25 +01:00
|
|
|
- sudo apt-get install -qq libstdc++-4.9-dev
|
2015-04-09 23:46:33 +02:00
|
|
|
- sudo rm /usr/bin/gcc /usr/bin/g++
|
|
|
|
- sudo ln -s /usr/bin/gcc-4.9 /usr/bin/gcc
|
|
|
|
- sudo ln -s /usr/bin/g++-4.9 /usr/bin/g++
|
2015-01-14 21:10:23 +01:00
|
|
|
|
|
|
|
# build sequence with Lutin :
|
|
|
|
script:
|
2015-04-09 23:46:33 +02:00
|
|
|
- ./lutin/lutin.py -C -P -c$BUILDER -mdebug -p exml_test
|
2015-01-14 21:33:25 +01:00
|
|
|
- ./out/Linux_x86_64/debug/staging/$BUILDER/exml_test/usr/bin/exml_test -l6
|
2015-01-14 21:10:23 +01:00
|
|
|
|
|
|
|
#send e-mail on compilation result:
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
- yui.heero@gmail.com
|
|
|
|
|