mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 23:43:34 +08:00
gather test results
This commit is contained in:
committed by
Lorenz Meier
parent
cddef87998
commit
97bc0f4486
+9
-5
@@ -12,15 +12,19 @@ checkout:
|
||||
|
||||
dependencies:
|
||||
pre:
|
||||
- docker pull px4io/px4-dev-nuttx:2016-12-26
|
||||
- docker pull px4io/px4-dev-base
|
||||
|
||||
test:
|
||||
override:
|
||||
- docker run --rm -v `pwd`:`pwd`:rw -e CI=true -w=`pwd` -e LOCAL_USER_ID=$UID -it px4io/px4-dev-nuttx:2016-12-26 /bin/bash -c "make quick_check"
|
||||
- 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:
|
||||
- "build_px4fmu-v2_default/parameters.xml"
|
||||
- "build_px4fmu-v2_default/airframes.xml"
|
||||
- "build_.*/src/firmware/nuttx/.*.px4"
|
||||
- "coverage-html"
|
||||
- "coverage.info"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user