From dbd66a0157326ebe7b2f288ef8f8916abcbfd98b Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Mon, 14 Sep 2015 21:11:04 +0200 Subject: [PATCH] [DEV] update Build interface --- .travis.yml | 21 +++++++++++++-------- audio/river/Interface.h | 8 ++++---- audio/river/Manager.h | 2 +- audio/river/io/Manager.cpp | 2 +- audio/river/io/Manager.h | 8 ++++---- audio/river/io/Node.h | 6 +++--- audio/river/io/NodeAEC.cpp | 4 ++-- audio/river/io/NodeFile.cpp | 2 +- audio/river/io/NodeMuxer.cpp | 4 ++-- audio/river/io/NodeOrchestra.cpp | 2 +- audio/river/io/NodePortAudio.cpp | 2 +- lutin_audio-river.py | 10 +++++++++- test/main.cpp | 2 +- 13 files changed, 43 insertions(+), 30 deletions(-) diff --git a/.travis.yml b/.travis.yml index c4bb659..7ed373a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,10 +3,6 @@ language: sudo: false -compiler: - - clang - - gcc - os: - linux - osx @@ -26,8 +22,18 @@ addons: install: - pip install --user lutin +env: + - CONF=debug BOARD=Linux BUILDER=clang GCOV= + - CONF=release BOARD=Linux BUILDER=clang GCOV= + - CONF=debug BOARD=Linux BUILDER=gcc GCOV= + - CONF=release BOARD=Linux BUILDER=gcc GCOV= + - CONF=debug BOARD=Linux BUILDER=gcc GCOV=--gcov + before_script: - cd .. + - wget http://atria-soft.com/ci/coverage_send.py + - wget http://atria-soft.com/ci/test_send.py + - wget http://atria-soft.com/ci/warning_send.py - git clone https://github.com/generic-library/gtest-lutin.git --recursive - git clone https://github.com/generic-library/speex-dsp-lutin.git --recursive - git clone https://github.com/generic-library/z-lutin.git --recursive @@ -39,13 +45,12 @@ before_script: - git clone https://github.com/musicdsp/audio-orchestra.git - pwd - ls -l - - if [ "$CXX" == "clang++" ]; then BUILDER=clang; else BUILDER=gcc; fi - - if [ "$CXX" == "g++" ]; then COMPILATOR_OPTION="--compilator-version=4.9"; else COMPILATOR_OPTION=""; fi + - if [ "$BUILDER" == "gcc" ]; then COMPILATOR_OPTION="--compilator-version=4.9"; else COMPILATOR_OPTION=""; fi script: - - lutin -C -P -c$BUILDER $COMPILATOR_OPTION -mdebug -p audio-river-test -# - ./out/Linux_x86_64/debug/staging/$BUILDER/audio-river-test/usr/bin/audio-river-test -l6 + - lutin -w -j4 -C -P -c $BUILDER $COMPILATOR_OPTION -m $CONF $GCOV -p audio-river-test +# - ./out/Linux_x86_64/$CONF/staging/$BUILDER/audio-river-test/usr/bin/audio-river-test -l6 notifications: email: diff --git a/audio/river/Interface.h b/audio/river/Interface.h index 342a990..e00a663 100644 --- a/audio/river/Interface.h +++ b/audio/river/Interface.h @@ -10,10 +10,10 @@ #include #include #include -#include -#include -#include -#include +#include +#include +#include +#include #include