Merge branch 'add-ci-config' into 'analysis'

Add gitlab-ci config file

See merge request boschresearch/ros-wg/tracing/tracetools_analysis!3
This commit is contained in:
Christophe Bedard 2019-06-26 08:09:25 +00:00
commit edfceca7e1

22
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,22 @@
image: registry.gitlab.com/ros_tracing/ros2_tracing/ci-base:latest
variables:
DOCKER_DRIVER: overlay2
PACKAGES_LIST: tracetools_analysis
before_script:
- git clone https://gitlab.com/ros_tracing/ros2_tracing.git
build:
script:
- colcon build --symlink-install --packages-up-to $PACKAGES_LIST
- colcon test --packages-select $PACKAGES_LIST
artifacts:
paths:
- install
- build/*/test_results/*/*.xunit.xml
- build/*/pytest.xml
reports:
junit:
- build/*/test_results/*/*.xunit.xml
- build/*/pytest.xml