From 6e125d4a62777b95a7b6ef180be63bb5abed1380 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/drain/Algo.h | 6 +++--- audio/drain/CircularBuffer.h | 2 +- audio/drain/EndPointCallback.h | 2 +- audio/drain/EndPointWrite.h | 4 ++-- audio/drain/Equalizer.h | 2 +- audio/drain/IOFormatInterface.h | 6 +++--- audio/drain/Process.h | 4 ++-- audio/drain/Resampler.h | 2 +- audio/drain/Volume.h | 2 +- audio/drain/airtalgo.h | 2 +- lutin_audio-drain.py | 22 +++++++++++++++++++++- 12 files changed, 50 insertions(+), 25 deletions(-) diff --git a/.travis.yml b/.travis.yml index 79759bb..50be86c 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 --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 @@ -37,12 +43,11 @@ before_script: - git clone https://github.com/musicdsp/audio-algo-drain.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-drain-test - - ./out/Linux_x86_64/debug/staging/$BUILDER/audio-drain-test/usr/bin/audio-drain-test -l6 + - lutin -w -j4 -C -P -c $BUILDER $COMPILATOR_OPTION -m $CONF $GCOV -p audio-drain-test + - ./out/Linux_x86_64/$CONF/staging/$BUILDER/audio-drain-test/usr/bin/audio-drain-test -l6 notifications: email: diff --git a/audio/drain/Algo.h b/audio/drain/Algo.h index 128d67f..a4326ec 100644 --- a/audio/drain/Algo.h +++ b/audio/drain/Algo.h @@ -13,9 +13,9 @@ #include #include