Skip to content

Commit 6f3fe3f

Browse files
authored
travis-ci enable codecov (#8090)
1 parent 1947a9a commit 6f3fe3f

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,4 @@ cppcheck
7474

7575
scan-build
7676

77+
*.gcov

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff 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

Makefile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)