Skip to content

Commit

Permalink
travis-ci enable codecov (PX4#8090)
Browse files Browse the repository at this point in the history
  • Loading branch information
dagar authored Oct 9, 2017
1 parent 1947a9a commit 6f3fe3f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,4 @@ cppcheck

scan-build

*.gcov
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6f3fe3f

Please sign in to comment.