[DEV] add travis generating coverage
This commit is contained in:
parent
caac2363a2
commit
bc630e60a9
@ -25,6 +25,7 @@ addons:
|
|||||||
|
|
||||||
install:
|
install:
|
||||||
- pip install --user lutin
|
- pip install --user lutin
|
||||||
|
- wget http://atria-soft.com/coverage/sendCoverage.py .
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- cd ..
|
- cd ..
|
||||||
@ -36,8 +37,12 @@ before_script:
|
|||||||
- if [ "$CXX" == "g++" ]; then COMPILATOR_OPTION="--compilator-version=4.9"; else COMPILATOR_OPTION=""; fi
|
- if [ "$CXX" == "g++" ]; then COMPILATOR_OPTION="--compilator-version=4.9"; else COMPILATOR_OPTION=""; fi
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- lutin -C -P -c$BUILDER $COMPILATOR_OPTION -mdebug -p exml-test
|
- if [ "$CXX" == "clang++" ]; then lutin -C -P -c$BUILDER $COMPILATOR_OPTION -mdebug -p exml-test; fi
|
||||||
- ./out/Linux_x86_64/debug/staging/$BUILDER/exml-test/usr/bin/exml-test -l6
|
- if [ "$CXX" == "clang++" ]; then ./out/Linux_x86_64/debug/staging/$BUILDER/exml-test/usr/bin/exml-test -l6; fi
|
||||||
|
- if [ "$CXX" == "g++" ]; then lutin -C -P -c$BUILDER $COMPILATOR_OPTION --gcov -mdebug -p exml-test; fi
|
||||||
|
- if [ "$CXX" == "g++" ]; then ./out/Linux_x86_64/debug/staging/$BUILDER/exml-test/usr/bin/exml-test -l6; fi
|
||||||
|
- if [ "$CXX" == "g++" ]; then lutin -C -P -c$BUILDER $COMPILATOR_OPTION --gcov -mdebug -p exml?gcov -l6; fi
|
||||||
|
- if [ "$CXX" == "g++" ]; then ./sendCoverage.py "http://atria-soft.com/coverage/inject.php" "atria-soft" "XXX" "exml" "master" "out/Linux_x86_64/debug/build/gcc/exml/exml_coverage.json"; fi
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email:
|
email:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user