ci: upload coverage data to codecov.io

Use codecov.io to track test coverage.

See https://codecov.io/gh/zephyrproject-rtos/zephyr

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2018-01-02 09:45:54 -05:00 committed by Anas Nashif
parent 712d34513e
commit 9b1b0fc838
1 changed files with 4 additions and 0 deletions

View File

@ -68,6 +68,8 @@ build:
- rm test_file.txt
- ccache -s
on_failure:
- rm -rf ccache
- bash <(curl -s https://codecov.io/bash) -f '!*.lst' -X coveragepy
- mkdir -p shippable/testresults
- mkdir -p shippable/codecoverage
- source zephyr-env.sh
@ -82,6 +84,8 @@ build:
cp ./scripts/sanity_chk/last_sanity.xml shippable/testresults/;
fi;
on_success:
- rm -rf ccache
- bash <(curl -s https://codecov.io/bash) -f '!*.lst' -X coveragepy
- mkdir -p shippable/testresults
- mkdir -p shippable/codecoverage
- source zephyr-env.sh