2016-06-13 17:39:30 -04:00
|
|
|
machine:
|
|
|
|
|
services:
|
|
|
|
|
- docker
|
|
|
|
|
|
|
|
|
|
checkout:
|
|
|
|
|
post:
|
2016-09-05 00:47:48 -04:00
|
|
|
# workaround for known git bug where attempting to fetch a missing commit fails early on the first try
|
2016-10-03 12:59:40 -04:00
|
|
|
- git submodule update --init --recursive || true
|
2016-06-24 20:21:46 -04:00
|
|
|
- git submodule sync --recursive
|
2016-10-03 12:59:40 -04:00
|
|
|
- git submodule deinit -f .
|
|
|
|
|
- git submodule update --init --recursive --force
|
2016-06-13 17:39:30 -04:00
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
|
pre:
|
2016-12-31 16:34:07 -05:00
|
|
|
- docker pull px4io/px4-dev-base
|
2016-06-13 17:39:30 -04:00
|
|
|
|
|
|
|
|
test:
|
|
|
|
|
override:
|
2016-12-31 16:34:07 -05:00
|
|
|
- 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
|
2016-09-05 00:47:48 -04:00
|
|
|
|
|
|
|
|
general:
|
|
|
|
|
artifacts:
|
2016-12-31 16:34:07 -05:00
|
|
|
- "coverage-html"
|
|
|
|
|
- "coverage.info"
|
2016-06-25 00:25:13 -04:00
|
|
|
|