ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Recommended setup for Travis-CI?

asked 2017-02-05 20:40:39 -0500

Cerin gravatar image

I've seen a few ROS projects with a Travis-CI configuration for automatically running tests.

Is there a "best-practice" script for properly setting up a ROS environment for running tests? I'm trying to create my own based on the examples I see, but I'm finding it's a bit complicated, with little ROS documentation to guide me.

edit retag flag offensive close merge delete



Not really an answer, but you might take a look at industrial_ci. Contrary to the name, it's not limited to 'industrial' ROS pkgs at all, and takes care of a lot of things wrt Travis & ROS.

gvdhoorn gravatar image gvdhoorn  ( 2017-02-06 02:40:13 -0500 )edit

See .travis.yml for a simple example that tests against two ROS releases.

gvdhoorn gravatar image gvdhoorn  ( 2017-02-06 02:41:56 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2020-05-26 02:11:52 -0500

Roberto Z. gravatar image

updated 2020-05-26 02:17:14 -0500

Please take a look at this repository:


This repository contains a .travis.yml file for setting up continuous integration (through Travis-CI) for any ROS package.
This repository also contains several example (i.e. trivial) ROS packages that serve as example packages for Travis to build and test. They also showcase how to correctly handle dependencies (system and source).

With regards to best practices, there are many Travis-CI best practices blog posts out there, unfourtunatley not ROS specific. One example:

I hope these resources help you.

edit flag offensive delete link more

answered 2017-02-06 19:22:11 -0500

130s gravatar image

updated 2020-05-23 11:29:36 -0500

lucasw gravatar image

Not an answer #2 though, you might want to check for existing CI software/service options.

Depending on what you want to test though, if you're really in need for self-contained example, maybe velodyne has a good, short example.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2017-02-05 20:40:39 -0500

Seen: 557 times

Last updated: May 26 '20