[CI] Continue travic integration

This commit is contained in:
Edouard DUPIN 2015-08-26 15:15:29 +02:00
parent 1362ef60b8
commit ab63b04d8e
2 changed files with 18 additions and 12 deletions

View File

@ -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:

View File

@ -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
============