diff --git a/.travis.yml b/.travis.yml index 28328570..fcf86cb7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,37 @@ +# language type: language: cpp -before_script: git submodule init; git submodule update -script: ./build/lutin.py -cclang -mdebug -p ewol +# compilator system: +compiler: +- clang +- gcc + +# build branch requested +branches: + only: + - master + - dev + +# previous actions: +before_script: + - git submodule init + - git submodule update + +install: + - if [ "$CXX" == "g++" ]; then sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y; fi + - if [ "$CXX" == "g++" ]; then sudo apt-get update -qq; fi + - if [ "$CXX" == "g++" ]; then sudo apt-get install -qq g++-4.8; fi + - if [ "$CXX" == "g++" ]; then sudo rm /usr/bin/gcc /usr/bin/g++; fi + - if [ "$CXX" == "g++" ]; then sudo ln -s /usr/bin/gcc-4.8 /usr/bin/gcc; fi + - if [ "$CXX" == "g++" ]; then sudo ln -s /usr/bin/g++-4.8 /usr/bin/g++; fi + + +# build sequence with Lutin : +script: + - if [ "$CXX" == "clang++" ]; then ./build/lutin.py -cclang -mdebug -p ewol; fi + - if [ "$CXX" == "g++" ]; then ./build/lutin.py -cgcc -mdebug -p ewol; fi + +#send e-mail on compilation result: +notifications: + email: + - yui.heero@gmail.com diff --git a/build b/build index 92c552fd..02a72568 160000 --- a/build +++ b/build @@ -1 +1 @@ -Subproject commit 92c552fd59009e30388d9762b1c9e618193c8d16 +Subproject commit 02a72568c9336e6a2ab0639af494c12443a75879