forked from Archive/PX4-Autopilot
travis-ci enable codecov (#8090)
This commit is contained in:
parent
1947a9a176
commit
6f3fe3f3ec
|
@ -74,3 +74,4 @@ cppcheck
|
|||
|
||||
scan-build
|
||||
|
||||
*.gcov
|
||||
|
|
|
@ -20,6 +20,11 @@ matrix:
|
|||
services:
|
||||
- docker
|
||||
env: BUILD_TARGET=tests
|
||||
- os: linux
|
||||
sudo: required
|
||||
services:
|
||||
- docker
|
||||
env: BUILD_TARGET=tests_coverage
|
||||
- os: linux
|
||||
sudo: required
|
||||
services:
|
||||
|
@ -78,6 +83,8 @@ script:
|
|||
./Tools/docker_run.sh 'make check_format';
|
||||
elif [[ "${BUILD_TARGET}" = "tests" ]]; then
|
||||
./Tools/docker_run.sh 'make tests';
|
||||
elif [[ "${BUILD_TARGET}" = "tests_coverage" ]]; then
|
||||
./Tools/docker_run.sh 'make tests_coverage' && bash <(curl -s https://codecov.io/bash);
|
||||
elif [[ "${BUILD_TARGET}" = "px4_metadata" ]]; then
|
||||
./Tools/docker_run.sh 'make px4_metadata';
|
||||
elif [[ "${BUILD_TARGET}" = "clang-tidy" ]]; then
|
||||
|
|
3
Makefile
3
Makefile
|
@ -309,9 +309,6 @@ coveralls_upload:
|
|||
--exclude=src/modules/uavcan/libuavcan \
|
||||
--root . --build-root build/posix_sitl_default/ --follow-symlinks
|
||||
|
||||
codecov_upload:
|
||||
@/bin/bash -c "bash <(curl -s https://codecov.io/bash)"
|
||||
|
||||
# static analyzers (scan-build, clang-tidy, cppcheck)
|
||||
# --------------------------------------------------------------------
|
||||
.PHONY: posix_sitl_default-clang scan-build clang-tidy clang-tidy-fix clang-tidy-quiet cppcheck check_stack
|
||||
|
|
Loading…
Reference in New Issue