From 000644204afd1bb8ed6c43048eec9da3c72ab11d Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Fri, 16 Oct 2015 21:00:37 +0200 Subject: [PATCH] [CI] Integrate new MacOs on Travis --- .travis.yml | 33 ++++++++++++++++++++++++--------- 1 file changed, 24 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index f1c80fcf..c4bd3f6c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,16 +19,25 @@ addons: packages: - g++-4.9 +env: + - CONF=debug BUILDER=clang + - CONF=debug BUILDER=gcc + +matrix: + include: + - os: linux + env: CONF=debug BUILDER=gcc GCOV=--gcov + - os: linux + env: CONF=release BUILDER=clang + - os: linux + env: CONF=release BUILDER=gcc + exclude: + - os: mingw + env: CONF=debug BUILDER=clang + 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 @@ -49,13 +58,19 @@ before_script: - cd .. - pwd - ls -l - - if [ "$BUILDER" == "gcc" ]; 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 + - if [ "$TRAVIS_OS_NAME" == "osx" ]; then + export PATH=$PATH:/Users/travis/Library/Python/2.7/bin/; + fi script: - lutin -w -j4 -C -P -c $BUILDER $COMPILATOR_OPTION -m $CONF $GCOV -p ewol-test 0XX_customwidget 001_HelloWord - notifications: email: - yui.heero@gmail.com