You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

30 lines
867 B

machine:
services:
- docker
checkout:
post:
# workaround for known git bug where attempting to fetch a missing commit fails early on the first try
- git submodule update --init --recursive || true
- git submodule sync --recursive
- git submodule deinit -f .
- git submodule update --init --recursive --force
dependencies:
pre:
- docker pull px4io/px4-dev-base
test:
override:
- PX4_DOCKER=1 make tests
# copy test results for circleci
- mkdir -p $CIRCLE_TEST_REPORTS/unittests/ && cp build_unittest/test_detail.xml $CIRCLE_TEST_REPORTS/unittests/
- mkdir -p $CIRCLE_TEST_REPORTS/sitlunittests/ && cp ./build_posix_sitl_default/JUnitTestResults.xml $CIRCLE_TEST_REPORTS/sitlunittests/
- make distclean
- PX4_DOCKER=1 make tests_coverage
general:
artifacts:
- "coverage-html"
- "coverage.info"