forked from Archive/PX4-Autopilot
travis-ci remove code coverage build and upload (#7357)
This commit is contained in:
parent
833cdc9236
commit
3aa502ba25
19
.travis.yml
19
.travis.yml
|
@ -20,11 +20,6 @@ matrix:
|
||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
env: BUILD_TARGET=tests
|
env: BUILD_TARGET=tests
|
||||||
- os: linux
|
|
||||||
sudo: required
|
|
||||||
services:
|
|
||||||
- docker
|
|
||||||
env: BUILD_TARGET=tests_coverage
|
|
||||||
- os: linux
|
- os: linux
|
||||||
sudo: required
|
sudo: required
|
||||||
services:
|
services:
|
||||||
|
@ -77,8 +72,6 @@ script:
|
||||||
./Tools/docker_run.sh 'make check_format';
|
./Tools/docker_run.sh 'make check_format';
|
||||||
elif [[ "${BUILD_TARGET}" = "tests" ]]; then
|
elif [[ "${BUILD_TARGET}" = "tests" ]]; then
|
||||||
./Tools/docker_run.sh 'make tests';
|
./Tools/docker_run.sh 'make tests';
|
||||||
elif [[ "${BUILD_TARGET}" = "tests_coverage" ]]; then
|
|
||||||
./Tools/docker_run.sh 'make tests_coverage';
|
|
||||||
elif [[ "${BUILD_TARGET}" = "px4_metadata" ]]; then
|
elif [[ "${BUILD_TARGET}" = "px4_metadata" ]]; then
|
||||||
./Tools/docker_run.sh 'make px4_metadata';
|
./Tools/docker_run.sh 'make px4_metadata';
|
||||||
elif [[ "${BUILD_TARGET}" = "clang-tidy" ]]; then
|
elif [[ "${BUILD_TARGET}" = "clang-tidy" ]]; then
|
||||||
|
@ -98,18 +91,6 @@ after_success:
|
||||||
- if [[ "${BUILD_TARGET}" = "cppcheck" && "${TRAVIS_PULL_REQUEST}" = "false" ]]; then
|
- if [[ "${BUILD_TARGET}" = "cppcheck" && "${TRAVIS_PULL_REQUEST}" = "false" ]]; then
|
||||||
./Tools/docker_run.sh 'make s3put_cppcheck AWS_S3_BUCKET="px4-travis/Firmware/${TRAVIS_BRANCH}/cppcheck"';
|
./Tools/docker_run.sh 'make s3put_cppcheck AWS_S3_BUCKET="px4-travis/Firmware/${TRAVIS_BRANCH}/cppcheck"';
|
||||||
fi
|
fi
|
||||||
# s3 upload code coverage
|
|
||||||
- if [[ "${BUILD_TARGET}" = "tests_coverage" && "${TRAVIS_PULL_REQUEST}" = "false" ]]; then
|
|
||||||
./Tools/docker_run.sh 'make s3put_coverage AWS_S3_BUCKET="px4-travis/Firmware/${TRAVIS_BRANCH}/coverage"';
|
|
||||||
fi
|
|
||||||
# coveralls code coverage report
|
|
||||||
- if [[ "${BUILD_TARGET}" = "tests_coverage" && "${TRAVIS_PULL_REQUEST}" = "false" ]]; then
|
|
||||||
./Tools/docker_run.sh 'make coveralls_upload';
|
|
||||||
fi
|
|
||||||
# codecov code coverage report
|
|
||||||
- if [[ "${BUILD_TARGET}" = "tests_coverage" && "${TRAVIS_PULL_REQUEST}" = "false" ]]; then
|
|
||||||
./Tools/docker_run.sh 'make codecov_upload';
|
|
||||||
fi
|
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
coverity_scan:
|
coverity_scan:
|
||||||
|
|
Loading…
Reference in New Issue