forked from ros-drivers/rosserial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (25 loc) · 930 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
sudo: required
dist: trusty
language: generic
env:
- CI_ROS_DISTRO=indigo CC=gcc CXX=g++ PATH=/usr/sbin:/usr/bin:/sbin:/bin
- CI_ROS_DISTRO=indigo CC=clang CXX=clang++ PATH=/usr/local/clang-5.0.0/bin:/usr/sbin:/usr/bin:/sbin:/bin
before_install:
- sudo sh -c 'echo "deb http://packages.ros.org/ros-shadow-fixed/ubuntu trusty main" > /etc/apt/sources.list.d/ros-latest.list'
- wget http://packages.ros.org/ros.key -O - | sudo apt-key add -
- sudo apt-get update
- sudo apt-get install dpkg -y
- sudo apt-get install python-rosdep -y
- sudo rosdep init
- rosdep update
install:
- mkdir -p ~/catkin_ws/src
- cd ~/catkin_ws
- ln -s $TRAVIS_BUILD_DIR src
- rosdep install --from-paths src --ignore-src --rosdistro=$CI_ROS_DISTRO -y
script:
- source /opt/ros/$CI_ROS_DISTRO/setup.bash
- catkin_make install
- catkin_make tests
- devel/env.sh catkin_make run_tests -j1
- catkin_test_results build