forked from moveit/moveit2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (44 loc) · 1.8 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
# This config file for Travis CI utilizes https://github.com/ros-planning/moveit_ci/ package.
os: linux
dist: bionic # distro used by Travis, moveit_ci uses the docker image's distro
services:
- docker
language: cpp
cache: ccache
compiler: gcc
notifications:
email: true
env:
global:
- MOVEIT_CI_TRAVIS_TIMEOUT=85 # Travis grants us 90 min, but we add a safety margin of 5 min
- ROS_DISTRO=foxy
- ROS_REPO=ros
- UPSTREAM_WORKSPACE=moveit2.repos
- CXXFLAGS="-Wall -Wextra -Wwrite-strings -Wunreachable-code -Wpointer-arith -Wredundant-decls"
- WARNINGS_OK=false
jobs:
fast_finish: true
include:
- name: "[Foxy] - ament_lint"
env: TEST="ament_lint"
- name: "[Eloquent] - clang-format"
env: TEST="clang-format"
ROS_DISTRO="eloquent"
UPSTREAM_WORKSPACE=""
BEFORE_SCRIPT="for p in geometric_shapes moveit_msgs moveit_resources_pr2_description moveit_resources_panda_moveit_config moveit_resources object_recognition_msgs octomap_msgs ompl random_numbers srdfdom; do ros2 pkg create \$p; done"
- name: "[Foxy] - code-coverage"
env: TEST=code-coverage
- name: "[Foxy] - gcc (build,test)"
env: ROS_DISTRO=foxy
- name: "[Foxy] - clang (build,test,clang-tidy-fix,test_ikfast_plugins)"
compiler: clang
# test_ikfast_plugins takes ~10 minutes: include here to keep the main jobs shorter
env: TEST=clang-tidy-fix
CXXFLAGS="-Wall -Wextra -Wwrite-strings -Wunreachable-code -Wpointer-arith -Wredundant-decls -Wno-overloaded-virtual"
BEFORE_DOCKER_SCRIPT="source moveit_kinematics/test/test_ikfast_plugins.sh"
allow_failures:
- env: TEST=code-coverage
before_script:
- git clone -q -b ros2 --depth=1 https://github.com/ros-planning/moveit_ci.git .moveit_ci
script:
- .moveit_ci/travis.sh