[DEV] update worktree

This commit is contained in:
Edouard DUPIN 2015-06-15 19:17:19 +02:00
parent e3d2de6c4c
commit 0f83ed5553
3 changed files with 44 additions and 6 deletions

38
.travis.yml Normal file
View File

@ -0,0 +1,38 @@
language: cpp
compiler:
- clang
- gcc
os:
- linux
- osx
before_script:
- cd ..
- git clone https://github.com/generic-library/gtest.git --recursive
- git clone https://github.com/generic-library/speex-dsp.git --recursive
- git clone https://github.com/atria-soft/etk.git
- git clone https://github.com/musicdsp/audio.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-algo-speex-test
# - ./out/Linux_x86_64/debug/staging/$BUILDER/audio-algo-speex-test/usr/bin/audio-algo-speex-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 "audio_algo_speex_test: test for speex ALGO"
return "test for speex ALGO"
def create(target):
myModule = module.Module(__file__, 'audio_algo_speex_test', 'BINARY')
myModule = module.Module(__file__, 'audio-algo-speex-test', 'BINARY')
myModule.add_src_file([
'test/main.cpp',
'test/debug.cpp'
])
myModule.add_module_depend(['audio_algo_speex'])
myModule.add_module_depend(['audio-algo-speex'])
return myModule

View File

@ -3,18 +3,18 @@ import lutin.module as module
import lutin.tools as tools
def get_desc():
return "audio_algo_speex : speex algos wrapper"
return "speex algos wrapper"
def create(target):
myModule = module.Module(__file__, 'audio_algo_speex', 'LIBRARY')
myModule = module.Module(__file__, 'audi-algo-speex', 'LIBRARY')
myModule.add_src_file([
'audio/algo/speex/debug.cpp',
'audio/algo/speex/Resampler.cpp'
])
myModule.add_module_depend(['etk', 'audio'])
myModule.add_optionnal_module_depend('speexdsp', ["c++", "-DHAVE_SPEEX_DSP"])
myModule.add_optionnal_module_depend('speex-dsp', ["c++", "-DHAVE_SPEEX_DSP"])
myModule.add_export_path(tools.get_current_path(__file__))
# return module