diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..5c0bccb --- /dev/null +++ b/.travis.yml @@ -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 + diff --git a/lutin_audio_algo_speex_test.py b/lutin_audio-algo-speex-test.py similarity index 56% rename from lutin_audio_algo_speex_test.py rename to lutin_audio-algo-speex-test.py index 43d8944..e2c9073 100644 --- a/lutin_audio_algo_speex_test.py +++ b/lutin_audio-algo-speex-test.py @@ -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 diff --git a/lutin_audio_algo_speex.py b/lutin_audio-algo-speex.py similarity index 65% rename from lutin_audio_algo_speex.py rename to lutin_audio-algo-speex.py index aad890d..0893a54 100644 --- a/lutin_audio_algo_speex.py +++ b/lutin_audio-algo-speex.py @@ -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