forked from KRSSG/robocup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (36 loc) · 1.24 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
# NOTE: The build lifecycle on Travis.ci is something like this:
# before_install
# install
# before_script
# script
# after_success or after_failure
# after_script
# OPTIONAL before_deploy
# OPTIONAL deploy
# OPTIONAL after_deploy
sudo: required
cache:
- apt
# Build all valid Ubuntu/ROS combinations available on Travis VMs.
language: generic
matrix:
include:
- os: linux
dist: xenial
################################################################################
# Install system dependencies, namely a very barebones ROS setup.
before_install:
# - sudo sh -c "echo \"deb http://packages.ros.org/ros/ubuntu $ROS_CI_DESKTOP main\" > /etc/apt/sources.list.d/ros-latest.list"
# - sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
# - sudo apt-get update -qq
# - sudo apt-get install dpkg
# - sudo apt-get install -y python-catkin-pkg python-rosdep python-wstool ros-$ROS_DISTRO-ros-base
# - source /opt/ros/$ROS_DISTRO/setup.bash
# # Prepare rosdep to install dependencies.
# - sudo rosdep init
# - rosdep update
# Create a catkin workspace with the package under integration.
install:
- mkdir -p ~/catkin_ws/
- cd ~/catkin_ws/
script: