forked from AIS-Bonn/nimbro_network
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.gitlab-ci.yml
32 lines (29 loc) · 989 Bytes
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
image: xqms/ros:noetic
variables:
ROS_PACKAGES_TO_INSTALL: ""
USE_ROSDEP: "true"
catkin_build:
stage: build
script:
- apt-get update
- git clone -b update https://git.ais.uni-bonn.de/nimbroshared/ros_gitlab_ci.git
- source ros_gitlab_ci/gitlab-ci.bash
- catkin build --summarize --no-status --force-color
- source devel/setup.bash
- ROS_TEST_RESULTS_DIR=$(pwd)/test_results catkin build --no-status --force-color --catkin-make-args run_tests
- find build -name test_results -type d -exec cp -R '{}' $CI_PROJECT_DIR/ ';' -print
artifacts:
paths:
- test_results/
catkin_tools_tests:
stage: test
script:
- ls -la
- echo test_results/*/*.xml
- git clone -b update https://git.ais.uni-bonn.de/nimbroshared/ros_gitlab_ci.git
- python3 ros_gitlab_ci/summarize_results.py test_results/*/*.xml test_results/summary.xml
artifacts:
paths:
- test_results/summary.xml
reports:
junit: test_results/summary.xml