forked from moveit/moveit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (38 loc) · 1.36 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
# This config file for Travis CI utilizes https://github.com/ros-planning/moveit_ci/ package.
os: linux
dist: xenial # 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=melodic
- ROS_REPO=ros
- UPSTREAM_WORKSPACE=moveit.rosinstall
- CXXFLAGS="-Wall -Wextra -Wwrite-strings -Wunreachable-code -Wpointer-arith -Wredundant-decls"
- WARNINGS_OK=false
jobs:
fast_finish: true
include:
- env: TEST="clang-format catkin_lint"
- env: TEST=code-coverage
- env: ROS_DISTRO=melodic
- env: ROS_DISTRO=kinetic
- compiler: clang
# test_ikfast_plugins takes ~10 minutes: include here to keep the main jobs shorter
env: 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-overloaded-virtual"
- if: branch =~ /^(.*-devel|master)$/
env: ROS_REPO=ros-shadow-fixed
allow_failures:
- env: TEST=code-coverage
before_script:
- git clone -q --depth=1 https://github.com/ros-planning/moveit_ci.git .moveit_ci
script:
- .moveit_ci/travis.sh