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
commit 9b1b0fc838

View file

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