Travis-CI for ros2cli
I am looking for creating a Travis-CI pipeline for ros2cli
repo.
Here is my plan so far:
Do a docker based pipeline, start from https://github.com/osrf/docker_images/blob/master/ros2/ardent/ubuntu/xenial/ardent-core/Dockerfile
Install required modules for development from ROS2 Linux Development Setup
Create workspace with
wget https://raw.githubusercontent.com/ros2/ros2/master/ros2.repos &&
vcs-import src < ros2.repos
Run
ament build_pkg
for every package in ros2cliRun
ament test_pkg
for every package in ros2cli
What do you think, is it going to work?
This looks like a duplicate of your question here: https://github.com/ros2/ros2cli/issue...
My answer why I think it shouldn't be done with Travis still stand.
I raised this question here because I did not want to pollute the main thread on PR with a separate topic. I don't fully understand the reasoning behind why.
So
ament build_pkg foo
does not build dependencies forfoo
?