forked from moveit/moveit_ci
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
57 lines (50 loc) · 2.73 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# This config file for Travis CI utilizes https://github.com/ros-planning/moveit_ci/ package.
# THIS FILE IS BEING USED TO CI-TEST THE CI SCRIPT ITSELF - do not use this for your moveit repo but instead use the version in README.md
sudo: required
dist: trusty
services:
- docker
language: cpp
cache: ccache
compiler: gcc
notifications:
email:
recipients:
env:
global: # default values
- ROS_DISTRO=melodic
- ROS_REPO=ros
- SCRIPT=travis.sh
matrix:
- SCRIPT=unit_tests.sh
# skip clang-tidy-check on Xenial. It's only supported for cmake >= 3.6. clang-tidy-fix is tested.
- SCRIPT=unit_tests.sh SKIP=clang-tidy-check ROS_DISTRO=kinetic
# Build MoveIt! repository, moveit_ros_perception blacklisted due to lack of GPU-based docker env
- UPSTREAM_WORKSPACE=https://raw.githubusercontent.com/ros-planning/moveit/$ROS_DISTRO-devel/moveit.rosinstall
TEST="clang-format, catkin_lint"
CI_SOURCE_PATH=moveit # manually specify main source repo (not coincides with moveit_ci)
- UPSTREAM_WORKSPACE=https://raw.githubusercontent.com/ros-planning/moveit/$ROS_DISTRO-devel/moveit.rosinstall
TEST_BLACKLIST=moveit_ros_perception WARNINGS_OK=no
CI_SOURCE_PATH=moveit # manually specify main source repo (not coincides with moveit_ci)
# geometric_shapes just serves as a small example for clang-tidy-fix
- UPSTREAM_WORKSPACE=https://github.com/ros-planning/geometric_shapes
TEST=clang-tidy-fix
CI_SOURCE_PATH=geometric_shapes # manually specify main source repo (not coincides with moveit_ci)
matrix:
allow_failures: # While the above tests are proper unit tests, testing external workspaces has the risk of external issues
# Build MoveIt! repository, moveit_ros_perception blacklisted due to lack of GPU-based docker env
- env: UPSTREAM_WORKSPACE=https://raw.githubusercontent.com/ros-planning/moveit/$ROS_DISTRO-devel/moveit.rosinstall
TEST="clang-format, catkin_lint"
CI_SOURCE_PATH=moveit # manually specify main source repo (not coincides with moveit_ci)
- env: UPSTREAM_WORKSPACE=https://raw.githubusercontent.com/ros-planning/moveit/$ROS_DISTRO-devel/moveit.rosinstall
TEST_BLACKLIST=moveit_ros_perception WARNINGS_OK=no
CI_SOURCE_PATH=moveit # manually specify main source repo (not coincides with moveit_ci)
# geometric_shapes just serves as a small example for clang-tidy-fix
- env: UPSTREAM_WORKSPACE=https://github.com/ros-planning/geometric_shapes
TEST=clang-tidy-fix
CI_SOURCE_PATH=geometric_shapes # manually specify main source repo (not coincides with moveit_ci)
before_script:
- ln -s . .moveit_ci # pretend to have the usual location .moveit_ci
script:
- .moveit_ci/$SCRIPT