File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -74,3 +74,4 @@ cppcheck
7474
7575scan-build
7676
77+ * .gcov
Original file line number Diff line number Diff line change @@ -20,6 +20,11 @@ matrix:
2020 services :
2121 - docker
2222 env : BUILD_TARGET=tests
23+ - os : linux
24+ sudo : required
25+ services :
26+ - docker
27+ env : BUILD_TARGET=tests_coverage
2328 - os : linux
2429 sudo : required
2530 services :
@@ -78,6 +83,8 @@ script:
7883 ./Tools/docker_run.sh 'make check_format';
7984 elif [[ "${BUILD_TARGET}" = "tests" ]]; then
8085 ./Tools/docker_run.sh 'make tests';
86+ elif [[ "${BUILD_TARGET}" = "tests_coverage" ]]; then
87+ ./Tools/docker_run.sh 'make tests_coverage' && bash <(curl -s https://codecov.io/bash);
8188 elif [[ "${BUILD_TARGET}" = "px4_metadata" ]]; then
8289 ./Tools/docker_run.sh 'make px4_metadata';
8390 elif [[ "${BUILD_TARGET}" = "clang-tidy" ]]; then
Original file line number Diff line number Diff line change @@ -309,9 +309,6 @@ coveralls_upload:
309309 --exclude=src/modules/uavcan/libuavcan \
310310 --root . --build-root build/posix_sitl_default/ --follow-symlinks
311311
312- codecov_upload :
313- @/bin/bash -c " bash <(curl -s https://codecov.io/bash)"
314-
315312# static analyzers (scan-build, clang-tidy, cppcheck)
316313# --------------------------------------------------------------------
317314.PHONY : posix_sitl_default-clang scan-build clang-tidy clang-tidy-fix clang-tidy-quiet cppcheck check_stack
You can’t perform that action at this time.
0 commit comments