-
Notifications
You must be signed in to change notification settings - Fork 362
/
.travis.yml
55 lines (47 loc) · 1.25 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
sudo: required
language: generic
matrix:
include:
- dist: xenial
env: ROSDISTRO=kinetic
os: linux
arch: amd64
- dist: xenial
env: ROSDISTRO=kinetic
os: linux
arch: arm64
- dist: bionic
env: ROSDISTRO=melodic
os: linux
arch: amd64
- dist: bionic
env: ROSDISTRO=melodic
os: linux
arch: arm64
branches:
only:
- master
compiler:
- gcc
install:
- sudo apt update
- sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
- wget http://packages.ros.org/ros.key -O - | sudo apt-key add -
- sudo apt update
- sudo apt install -y dpkg
- sudo apt install -y ros-$ROSDISTRO-ros-base
- sudo apt install -y python-rosdep
- sudo `which rosdep` init
- rosdep update
- rosdep install --default-yes --from-paths . --ignore-src --rosdistro $ROSDISTRO
- source /opt/ros/$ROSDISTRO/setup.bash
- export PYTHONPATH=$PYTHONPATH:/usr/lib/python2.7/dist-packages
- sudo apt update
- mkdir -p catkin_ws/src && cd catkin_ws/src
- git clone --recursive https://github.com/chvmp/champ.git
- cd ../
- rosdep install --from-paths src --ignore-src -r -y
- catkin_make
notifications:
email: