Skip to content
Snippets Groups Projects
Commit 86cc0ae8 authored by Victor Lamoine's avatar Victor Lamoine
Browse files

Add catkin_lint

parent e36dfe98
No related branches found
No related tags found
No related merge requests found
...@@ -80,6 +80,22 @@ before_script: ...@@ -80,6 +80,22 @@ before_script:
- apt install -y liblapack-dev >/dev/null - apt install -y liblapack-dev >/dev/null
``` ```
## Using with [`catkin_lint`](http://wiki.ros.org/catkin_lint)
Example usage:
```yml
# catkin_lint
catkin lint:
stage: build
image: ros:melodic-ros-core
before_script:
- apt update >/dev/null 2>&1
- apt install -y python-catkin-lint >/dev/null 2>&1
allow_failure: true
script:
- catkin_lint -W3 .
```
## Example package with testing ## Example package with testing
You can also test you packages using the ROS testing tools and GitLab CI pipelines, here is an example package: You can also test you packages using the ROS testing tools and GitLab CI pipelines, here is an example package:
- https://gitlab.com/VictorLamoine/ros_gitlab_ci_test - https://gitlab.com/VictorLamoine/ros_gitlab_ci_test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment