forked from RobotWebTools/webrtc_ros
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
36 lines (30 loc) · 972 Bytes
/
.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
language: generic
compiler: gcc
matrix:
include:
- name: 'ROS Kinetic'
dist: xenial
env: CI_UBUNTU=xenial CI_ROS_DISTRO=kinetic
- name: 'ROS Melodic'
dist: bionic
env: CI_UBUNTU=bionic CI_ROS_DISTRO=melodic
branches:
only:
- develop
before_install:
- echo "deb http://packages.ros.org/ros/ubuntu ${CI_UBUNTU} main" | sudo tee -a /etc/apt/sources.list
- curl http://packages.ros.org/ros.key | sudo apt-key add -
- sudo apt-get update -qq
- sudo apt-get install -qq dpkg python-catkin-lint python-catkin-tools python-rosdep
install:
- sudo rosdep init
- rosdep update
- mkdir -p /tmp/ws/src
- ln -s `pwd` /tmp/ws/src/webrtc
- rosdep install -q --from-paths /tmp/ws/src --ignore-src --rosdistro ${CI_ROS_DISTRO} -y
before_script:
- source /opt/ros/${CI_ROS_DISTRO}/setup.bash
- catkin config -w /tmp/ws --install
script:
- catkin_lint /tmp/ws/src/webrtc
- catkin build -w /tmp/ws -p1 -j2 --no-status -i