-
Notifications
You must be signed in to change notification settings - Fork 49
/
.travis.yml
58 lines (52 loc) · 1.37 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
50
51
52
53
54
55
56
57
58
dist: trusty
sudo: required
language:
- generic
cache:
- apt
services:
- docker
# Global environment variables
env:
global:
- ROS_DISTRO=kinetic
- ROS_REPOSITORY_PATH=http://packages.ros.org/ros/ubuntu
# - ROS_CI_DESKTOP="`lsb_release -cs`"
# - CI_SOURCE_PATH=$(pwd)
# - ROS_PARALLEL_JOBS='-j8 -16'
# ROS Setup
# before_install:
# - docker pull ubuntu:xenial
# - docker run -it ubuntu:xenial
# - apt-get update
# - apt-get install -y wget
# - sh -c "echo \"deb http://packages.ros.org/ros/ubuntu $ROS_CI_DESKTOP main\" > /etc/apt/sources.list.d/ros-latest.list"
# - wget http://packages.ros.org/ros.key -O - | apt-key add -
# - apt-get update
# - apt-cache search kinetic-catkin
# - sudo apt-get install -y ros-$ROS_DISTRO-catkin
# - source /opt/ros/$ROS_DISTRO/setup.bash
# - sudo rosdep init
# - rosdep update
install:
- git clone https://github.com/ros-industrial/industrial_ci.git .ci_config
script:
- .ci_config/travis.sh
# Create catkin workspace and
# install:
# - mkdir -p ~/catkin_ws/src
# - cd ~/catkin_ws/src
# - catkin_init_workspace
# - cd ~/catkin_ws
# - catkin_make
# - source devel/setup.bash
# Add package
# - cd ~/catkin_ws/src
# - ln -s $CI_SOURCE_PATH .
# Install dependencies
# before_script:
# - sudo apt-get install ros-kinetic-octomap*
# Build package
# script:
# - cd ~/catkin_ws
# - catkin_make