From 18ba5eb18b67bb4b02a17d5b6977ac3bc2331700 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Mon, 15 Jun 2015 22:06:56 +0200 Subject: [PATCH] [CI] Add travis file --- .travis.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..d8541df --- /dev/null +++ b/.travis.yml @@ -0,0 +1,37 @@ +language: cpp + +compiler: + - clang + - gcc + +os: + - linux + - osx + +before_script: + - cd .. + - git clone https://github.com/HeeroYui/gtest.git + - git clone https://github.com/HeeroYui/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_chunkware_test + - ./out/Linux_x86_64/debug/staging/$BUILDER/audio_algo_chunkware_test/usr/bin/audio_algo_chunkware_test -l6 + +notifications: + email: + - yui.heero@gmail.com +