Files
bizhang_-obav/circle.yml

31 lines
867 B
YAML
Raw Normal View History

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
2016-06-24 20:21:46 -04:00
- git submodule sync --recursive
- git submodule deinit -f .
- git submodule update --init --recursive --force
dependencies:
pre:
2016-12-31 16:34:07 -05:00
- docker pull px4io/px4-dev-base
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
general:
artifacts:
2016-12-31 16:34:07 -05:00
- "coverage-html"
- "coverage.info"
2016-06-25 00:25:13 -04:00