forked from PickNikRobotics/moveit
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
42 lines (38 loc) · 1.57 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
# This config file for Travis CI utilizes https://github.com/ros-planning/moveit_ci/ package.
sudo: required
dist: xenial # distro used by Travis, moveit_ci uses the docker image's distro
services:
- docker
language: cpp
cache: ccache
compiler: gcc
notifications:
email:
recipients:
env:
global:
- MOVEIT_CI_TRAVIS_TIMEOUT=85 # Travis grants us 90 min, but we add a safety margin of 5 min
- ROS_DISTRO=melodic
- ROS_REPO=ros
- UPSTREAM_WORKSPACE=moveit.rosinstall
# moveit_ros_perception: mesh_filter_test fails due to broken Mesa OpenGL
- TEST_BLACKLIST="moveit_ros_perception"
- CXXFLAGS="-Wall -Wextra -Wwrite-strings -Wunreachable-code -Wpointer-arith -Wredundant-decls -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-unused-function"
- WARNINGS_OK=false
matrix:
- TEST="clang-format catkin_lint"
- ROS_DISTRO=melodic
- ROS_DISTRO=kinetic
matrix: # Add a separate config to the matrix, using clang as compiler
include:
# add a config to the matrix using clang as compiler and also test ikfast plugin creation
- compiler: clang
env: ROS_REPO=ros-shadow-fixed
TEST=clang-tidy-fix
BEFORE_DOCKER_SCRIPT="source moveit_kinematics/test/test_ikfast_plugins.sh"
CXXFLAGS="-Wall -Wextra -Wwrite-strings -Wunreachable-code -Wpointer-arith -Wredundant-decls -Wno-unused-parameter -Wno-unused-function -Wno-overloaded-virtual"
before_script:
- git clone -q --depth=1 https://github.com/ros-planning/moveit_ci.git .moveit_ci
script:
- .moveit_ci/travis.sh