Do rosdep install in before_script

This commit is contained in:
Christophe Bedard 2019-08-06 10:24:00 +02:00
parent 586744a5a3
commit 0ae3a260b4

View file

@ -6,10 +6,13 @@ variables:
before_script: before_script:
- git clone https://gitlab.com/micro-ROS/ros_tracing/ros2_tracing.git - git clone https://gitlab.com/micro-ROS/ros_tracing/ros2_tracing.git
- rosdep install --from-paths . -i . -i /root/ws --rosdistro dashing -y
- . /root/ws/install/local_setup.sh
build: build:
script: script:
- colcon build --symlink-install --packages-up-to $PACKAGES_LIST - colcon build --symlink-install --packages-up-to $PACKAGES_LIST
- . install/local_setup.sh
- colcon test --packages-select $PACKAGES_LIST - colcon test --packages-select $PACKAGES_LIST
- colcon test-result - colcon test-result
artifacts: artifacts: