[CI] add integration of the atria-soft coverage
This commit is contained in:
parent
f2cd3fc3cf
commit
e8335f6514
27
.travis.yml
27
.travis.yml
@ -3,10 +3,6 @@ language:
|
|||||||
|
|
||||||
sudo: false
|
sudo: false
|
||||||
|
|
||||||
compiler:
|
|
||||||
- clang
|
|
||||||
- gcc
|
|
||||||
|
|
||||||
os:
|
os:
|
||||||
- linux
|
- linux
|
||||||
- osx
|
- osx
|
||||||
@ -26,17 +22,32 @@ addons:
|
|||||||
install:
|
install:
|
||||||
- pip install --user lutin
|
- 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:
|
before_script:
|
||||||
- cd ..
|
- cd ..
|
||||||
|
- 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/generic-library/gtest-lutin.git --recursive
|
- git clone https://github.com/generic-library/gtest-lutin.git --recursive
|
||||||
- pwd
|
- pwd
|
||||||
- ls -l
|
- ls -l
|
||||||
- if [ "$CXX" == "clang++" ]; then BUILDER=clang; else BUILDER=gcc; fi
|
- if [ "$BUILDER" == "gcc" ]; 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 etk-test
|
- lutin -w -j4 -C -P -c $BUILDER $COMPILATOR_OPTION -m $CONF $GCOV -p etk-test
|
||||||
- ./out/Linux_x86_64/debug/staging/$BUILDER/etk-test/usr/bin/etk-test -l6
|
|
||||||
|
after_script:
|
||||||
|
- if [ "$GCOV" != "" ]; then python ./warning_send.py --find-path ./out/Linux_x86_64/$CONF/build/$BUILDER/etk/ ; fi
|
||||||
|
- ./out/Linux_x86_64/$CONF/staging/$BUILDER/etk-test/usr/bin/etk-test -l6 | 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 etk?gcov; fi
|
||||||
|
- if [ "$GCOV" != "" ]; then python ./coverage_send.py --json=out/Linux_x86_64/$CONF/build/$BUILDER/etk/etk_coverage.json; fi
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email:
|
email:
|
||||||
|
34
README.md
Normal file
34
README.md
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
etk
|
||||||
|
===
|
||||||
|
|
||||||
|
`etk` is a simple basic toolkit to wrap some things (I maybe need to not se it ...
|
||||||
|
|
||||||
|
[](https://travis-ci.org/atria-soft/etk)
|
||||||
|
|
||||||
|
[](http://atria-soft.com/ci/atria-soft/etk)
|
||||||
|
|
||||||
|
[](http://atria-soft.com/ci/atria-soft/etk)
|
||||||
|
|
||||||
|
[](http://atria-soft.com/ci/atria-soft/etk)
|
||||||
|
|
||||||
|
Instructions
|
||||||
|
============
|
||||||
|
|
||||||
|
To compile and use see 'ewol' or 'edn' project
|
||||||
|
|
||||||
|
License (APACHE v2.0)
|
||||||
|
=====================
|
||||||
|
Copyright etk Edouard DUPIN
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user