[INTEGRATION] Add travis test
This commit is contained in:
parent
e38a34084a
commit
61d33fa59f
39
.travis.yml
Normal file
39
.travis.yml
Normal file
@ -0,0 +1,39 @@
|
||||
language: cpp
|
||||
|
||||
# compilator system:
|
||||
compiler:
|
||||
- clang
|
||||
- gcc
|
||||
|
||||
os: linux
|
||||
|
||||
# previous actions:
|
||||
before_script:
|
||||
- rm -rf *
|
||||
- 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/audio.git
|
||||
- if [ "$CXX" == "clang++" ]; then BUILDER=clang; else BUILDER=gcc; fi
|
||||
|
||||
#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
|
||||
- sudo apt-get install -qq libstdc++-4.9-dev
|
||||
- sudo apt-get install -qq g++-4.9
|
||||
- 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++
|
||||
|
||||
# build sequence with Lutin :
|
||||
script:
|
||||
- ./lutin/lutin.py -C -P -c$BUILDER -mdebug -p audio_test
|
||||
- ./out/Linux_x86_64/debug/staging/$BUILDER/audio_test/usr/bin/audio_test
|
||||
|
||||
#send e-mail on compilation result:
|
||||
notifications:
|
||||
email:
|
||||
- yui.heero@gmail.com
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user