[DEV] update new worktree

This commit is contained in:
Edouard DUPIN 2015-06-15 19:36:08 +02:00
parent 50dcfaff82
commit 9b8351e489
5 changed files with 57 additions and 13 deletions

44
.travis.yml Normal file
View File

@ -0,0 +1,44 @@
language: cpp
compiler:
- clang
- gcc
os:
- linux
- osx
before_script:
- cd ..
- git clone https://github.com/generic-library/gtest-lutin.git --recurse-submodules
- git clone https://github.com/generic-library/speex-dsp-lutin.git --recurse-submodules
- git clone https://github.com/generic-library/z-lutin.git --recurse-submodules
- git clone https://github.com/generic-library/portaudio-lutin.git --recurse-submodules
- git clone https://github.com/atria-soft/etk.git
- git clone https://github.com/atria-soft/ejson.git
- git clone https://github.com/musicdsp/audio.git
- git clone https://github.com/musicdsp/audio-algo-drain.git
- git clone https://github.com/musicdsp/audio-drain.git
- git clone https://github.com/musicdsp/audio-orhestra.git
- pwd
- ls -l
- if [ "$CXX" == "clang++" ]; then BUILDER=clang; else BUILDER=gcc; fi
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
script:
- lutin -C -P -c$BUILDER -mdebug -p audio-river-test
- ./out/Linux_x86_64/debug/staging/$BUILDER/audio-river-test/usr/bin/audio-river-test -l6
notifications:
email:
- yui.heero@gmail.com

View File

@ -3,16 +3,16 @@ import lutin.module as module
import lutin.tools as tools
def get_desc():
return "river_test : Multi-nodal audio interface test"
return "Multi-nodal audio interface test"
def create(target):
myModule = module.Module(__file__, 'audio_river_test', 'BINARY')
myModule = module.Module(__file__, 'audio-river-test', 'BINARY')
myModule.add_src_file([
'test/main.cpp',
'test/debug.cpp'
])
myModule.add_module_depend(['audio_river', 'gtest', 'etk'])
myModule.add_module_depend(['audio-river', 'gtest', 'etk'])
return myModule

View File

@ -3,11 +3,11 @@ import lutin.module as module
import lutin.tools as tools
def get_desc():
return "audio_river : Multi-nodal audio interface"
return "Multi-nodal audio interface"
def create(target):
myModule = module.Module(__file__, 'audio_river', 'LIBRARY')
myModule = module.Module(__file__, 'audio-river', 'LIBRARY')
myModule.add_src_file([
'audio/river/debug.cpp',
@ -22,9 +22,9 @@ def create(target):
'audio/river/io/NodeMuxer.cpp',
'audio/river/io/Manager.cpp'
])
myModule.add_optionnal_module_depend('audio_orchestra', ["c++", "-DAUDIO_RIVER_BUILD_ORCHESTRA"])
myModule.add_optionnal_module_depend('audio-orchestra', ["c++", "-DAUDIO_RIVER_BUILD_ORCHESTRA"])
myModule.add_optionnal_module_depend('portaudio', ["c++", "-DAUDIO_RIVER_BUILD_PORTAUDIO"])
myModule.add_module_depend(['audio', 'audio_drain', 'ejson'])
myModule.add_module_depend(['audio', 'audio-drain', 'ejson'])
myModule.add_export_path(tools.get_current_path(__file__))
# add the currrent module at the

View File

@ -3,15 +3,15 @@ import lutin.module as module
import lutin.tools as tools
def get_desc():
return "river_sample_read : Read some data"
return "Read some data"
def create(target):
myModule = module.Module(__file__, 'river_sample_read', 'BINARY')
myModule = module.Module(__file__, 'river-sample-read', 'BINARY')
myModule.add_src_file([
'main.cpp',
])
myModule.add_module_depend(['audio_river', 'etk'])
myModule.add_module_depend(['audio-river', 'etk'])
return myModule

View File

@ -3,15 +3,15 @@ import lutin.module as module
import lutin.tools as tools
def get_desc():
return "river_sample_write : Write some data"
return "Write some data"
def create(target):
myModule = module.Module(__file__, 'river_sample_write', 'BINARY')
myModule = module.Module(__file__, 'river-sample-write', 'BINARY')
myModule.add_src_file([
'main.cpp',
])
myModule.add_module_depend(['audio_river', 'etk'])
myModule.add_module_depend(['audio-river', 'etk'])
return myModule