-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy path.travis.yml
47 lines (40 loc) · 1.87 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
# 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
os: linux
dist: bionic
services:
- docker
language: cpp
cache: ccache
compiler: gcc
notifications:
email: true
env:
global: # default values
- ROS_DISTRO=melodic
- ROS_REPO=ros
- SCRIPT=travis.sh
jobs:
fast_finish: true
include:
- env: SCRIPT=unit_tests.sh ROS_DISTRO=noetic
# Run docker with custom image
- env: SCRIPT=unit_tests.sh ROS_REPO= DOCKER_IMAGE=ros:melodic-ros-base
# Skip clang-tidy-check on Xenial. It's only supported for cmake >= 3.6. clang-tidy-fix is tested.
- env: 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
- 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"
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"
TRAVIS_BRANCH=melodic-devel
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