forked from wilselby/car_demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
48 lines (43 loc) · 3.79 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
# This .travis.yml works to check this repository
# https://github.com/ros-industrial/industrial_core/blob/indigo-devel/.travis.yml
# Greatly inspired by JSK travis: https://github.com/jsk-ros-pkg/jsk_travis
#sudo: required # Not required by industrial_ci that uses Docker.
#dist: trusty # Not required by industrial_ci that uses Docker.
services:
- docker
# Force travis to use its minimal image with default Python settings
language: generic
notifications:
# Whoever receives success and/or failure via email
email:
recipients:
# - [email protected] # Change this to yours should you copy this file.
env:
global:
- NOT_TEST_BUILD='true'
- DEBUG_BASH='true'
- VERBOSE_OUTPUT='true'
- CATKIN_CONFIG=--no-install
- ROS_PARALLEL_TEST_JOBS='-j1'
- CATKIN_PARALLEL_TEST_JOBS='-p1'
- BEFORE_SCRIPT='source ./scripts/travis_dependencies.bash'
matrix:
# - ROS_DISTRO="indigo" ROS_REPO=ros DOCKER_BASE_IMAGE=ros:indigo-ros-core
# - ROS_DISTRO="kinetic" ROS_REPO=ros DOCKER_BASE_IMAGE=ros:kinetic-ros-core ADDITIONAL_DEBS="build-essential python-catkin-tools python-pip ros-kinetic-gazebo-ros-pkgs ros-kinetic-gazebo-ros-control ros-kinetic-joint-state-publisher ros-kinetic-robot-state-publisher ros-kinetic-xacro ros-kinetic-controller-manager ros-kinetic-joint-state-controller ros-kinetic-ros-control ros-kinetic-joy ros-kinetic-fake-localization libignition-common libignition-fuel-tools1-1 libignition-math4 libignition-math4-dev libignition-msgs libignition-msgs-dev libignition-transport4"
# - ROS_DISTRO="kinetic" ROS_REPO=ros-shadow-fixed DOCKER_BASE_IMAGE=ros:kinetic-ros-core ADDITIONAL_DEBS="build-essential python-catkin-tools python-pip ros-kinetic-gazebo-ros-pkgs ros-kinetic-gazebo-ros-control ros-kinetic-joint-state-publisher ros-kinetic-robot-state-publisher ros-kinetic-xacro ros-kinetic-controller-manager ros-kinetic-joint-state-controller ros-kinetic-ros-control"
# - ROS_DISTRO="lunar" ROS_REPO=ros DOCKER_BASE_IMAGE=ros:lunar-ros-core
# - ROS_DISTRO="lunar" ROS_REPO=ros-shadow-fixed DOCKER_BASE_IMAGE=ros:lunar-ros-core
# - ROS_DISTRO="melodic" ROS_REPO=ros DOCKER_BASE_IMAGE=ros:melodic-ros-core
# - ROS_DISTRO="melodic" ROS_REPO=ros-shadow-fixed DOCKER_BASE_IMAGE=ros:melodic-ros-core
- ROS_DISTRO="melodic" ROS_REPO=ros DOCKER_BASE_IMAGE=ros:melodic-ros-core ADDITIONAL_DEBS="build-essential python-catkin-tools python-pip ros-melodic-gazebo-ros-pkgs ros-melodic-gazebo-ros-control ros-melodic-joint-state-publisher ros-melodic-robot-state-publisher ros-melodic-xacro ros-melodic-controller-manager ros-melodic-joint-state-controller ros-melodic-ros-control ros-melodic-joy ros-melodic-fake-localization ros-melodic-pcl-ros ros-melodic-tf2-geometry-msgs libignition-common libignition-fuel-tools1-1 libignition-math4 libignition-math4-dev libignition-msgs libignition-msgs-dev libignition-transport4"
matrix:
allow_failures:
# - ROS_DISTRO="melodic" ROS_REPO=ros DOCKER_BASE_IMAGE=ros:melodic-ros-core ADDITIONAL_DEBS="build-essential python-catkin-tools python-pip ros-melodic-gazebo-ros-pkgs ros-melodic-gazebo-ros-control ros-melodic-joint-state-publisher ros-melodic-robot-state-publisher ros-melodic-xacro ros-melodic-controller-manager ros-melodic-joint-state-controller ros-melodic-ros-control ros-melodic-joy ros-melodic-fake-localization libignition-common libignition-fuel-tools1-1 libignition-math4 libignition-math4-dev libignition-msgs libignition-msgs-dev libignition-transport4 libprotobuf10 libprotoc10"
install:
- git clone https://github.com/ros-industrial/industrial_ci.git .ci_config
script:
# - chmod +x scripts/travis_dependencies.bash
# - scripts/travis_dependencies.bash
- source .ci_config/travis.sh
# - bash <(curl -s https://codecov.io/bash)
# - source ./travis.sh # Enable this when you have a package-local script