From ab63b04d8e344f744793211c45934705c4870fd1 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Wed, 26 Aug 2015 15:15:29 +0200 Subject: [PATCH] [CI] Continue travic integration --- .travis.yml | 21 ++++++++++----------- README.md | 9 ++++++++- 2 files changed, 18 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1aef152..f51e6ed 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,10 +3,6 @@ language: sudo: false -#compiler: -# - clang -# - gcc - os: - linux - osx @@ -34,11 +30,10 @@ env: - CONF=debug BOARD=Linux BUILDER=gcc GCOV=--gcov before_script: - - LIB_SHA1=`git rev-parse HEAD` - - LIB_TAG=`git describe --tags` - cd .. - - wget http://atria-soft.com/coverage/sendCoverage.py - - chmod +x sendCoverage.py + - 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/atria-soft/etk.git - git clone https://github.com/generic-library/gtest-lutin.git --recursive - pwd @@ -46,10 +41,14 @@ before_script: - if [ "$BUILDER" == "gcc" ]; then COMPILATOR_OPTION="--compilator-version=4.9"; else COMPILATOR_OPTION=""; fi script: - - lutin -C -P -j4 -c $BUILDER $COMPILATOR_OPTION $GCOV -m $CONF -p exml-test - - ./out/Linux_x86_64/$CONF/staging/$BUILDER/exml-test/usr/bin/exml-test + - lutin -C -P -j4 -w -c $BUILDER $COMPILATOR_OPTION $GCOV -m $CONF -p exml-test + +after_script: + - if [ "$GCOV" != "" ]; then python ./warning_send.py --find-path ./out/Linux_x86_64/$CONF/build/$BUILDER/exml/ ; fi + - ./out/Linux_x86_64/$CONF/staging/$BUILDER/exml-test/usr/bin/exml-test | tee out_test.txt + - if [ "$GCOV" != "" ]; then python ./test_send.py --file=out_test.txt; fi - if [ "$GCOV" != "" ]; then lutin -C -P -c $BUILDER $COMPILATOR_OPTION -m $CONF -p exml?gcov; fi - - if [ "$GCOV" != "" ]; then ./sendCoverage.py "http://atria-soft.com/coverage/inject.php" "atria-soft" "$LIB_SHA1" "exml" "$TRAVIS_BRANCH" "out/Linux_x86_64/$CONF/build/$BUILDER/exml/exml_coverage.json"; fi + - if [ "$GCOV" != "" ]; then python ./coverage_send.py --json=out/Linux_x86_64/$CONF/build/$BUILDER/exml/exml_coverage.json; fi notifications: email: diff --git a/README.md b/README.md index d4d476a..7a34ea5 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,14 @@ exml `exml` ewol XML : is a XML parser generater for ewol [![Build Status](https://travis-ci.org/atria-soft/exml.svg?branch=master)](https://travis-ci.org/atria-soft/exml) -[![Coverage Status](http://atria-soft.com/coverage/thumb.php?USER=atria-soft&LIB_NAME=exml&LIB_BRANCH=master)](http://atria-soft.com/coverage/view.php?USER=atria-soft&LIB_NAME=exml&LIB_BRANCH=master) + +[![Coverage Status](http://atria-soft.com/ci/coverage/atria-soft/exml.svg?branch=master)](http://atria-soft.com/ci/atria-soft/exml) + +[![Coverage Status](http://atria-soft.com/ci/test/atria-soft/exml.svg?branch=master)](http://atria-soft.com/ci/atria-soft/exml) + +[![Coverage Status](http://atria-soft.com/ci/warning/atria-soft/exml.svg?branch=master)](http://atria-soft.com/ci/atria-soft/exml) + + Instructions ============