[DEV] update travis file
This commit is contained in:
parent
629c64b50d
commit
b1e09fee83
42
.travis.yml
Normal file
42
.travis.yml
Normal file
@ -0,0 +1,42 @@
|
||||
# language type:
|
||||
language: cpp
|
||||
|
||||
# compilator system:
|
||||
compiler:
|
||||
- clang
|
||||
- gcc
|
||||
|
||||
os:
|
||||
- linux
|
||||
- osx
|
||||
|
||||
# previous actions:
|
||||
before_script:
|
||||
- cd ..
|
||||
- git clone https://github.com/atria-soft/etk.git
|
||||
- git clone https://github.com/generic-library/gtest-lutin.git --recursive
|
||||
- pwd
|
||||
- ls -l
|
||||
- if [ "$CXX" == "clang++" ]; then BUILDER=clang; else BUILDER=gcc; fi
|
||||
|
||||
#install Gcc to have lisstdc++ 4.9 & gcc 4.9
|
||||
install:
|
||||
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
|
||||
- sudo apt-get update -qq
|
||||
- sudo apt-get install -qq g++-4.9
|
||||
- sudo apt-get install -qq libstdc++-4.9-dev
|
||||
- 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++
|
||||
- sudo pip install lutin
|
||||
|
||||
# build sequence with Lutin :
|
||||
script:
|
||||
- lutin -C -P -c$BUILDER -mdebug -p enet-test
|
||||
- ./out/Linux_x86_64/debug/staging/$BUILDER/enet-test/usr/bin/enet-test -l6
|
||||
|
||||
#send e-mail on compilation result:
|
||||
notifications:
|
||||
email:
|
||||
- yui.heero@gmail.com
|
||||
|
@ -3,6 +3,8 @@ enet
|
||||
|
||||
`enet` is a network abstraction layer for ewol
|
||||
|
||||
[](https://travis-ci.org/atria-soft/enet)
|
||||
|
||||
Instructions
|
||||
============
|
||||
|
||||
|
@ -12,9 +12,9 @@ def get_licence():
|
||||
}
|
||||
|
||||
def create(target):
|
||||
myModule = module.Module(__file__, 'enettest', 'BINARY')
|
||||
myModule = module.Module(__file__, 'enet-test', 'BINARY')
|
||||
|
||||
myModule.add_module_depend(['enet'])
|
||||
myModule.add_module_depend(['enet', 'gtest'])
|
||||
|
||||
myModule.add_src_file([
|
||||
'test/debug.cpp',
|
Loading…
x
Reference in New Issue
Block a user