forked from ros-drivers/pointgrey_camera_driver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (28 loc) · 853 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
sudo: required
dist: trusty
language: generic
compiler:
- gcc
env:
- CC=gcc CXX=g++ PATH=/usr/sbin:/usr/bin:/sbin:/bin
install:
- export CI_ROS_DISTRO=indigo
- 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 python-rosdep -y
- sudo `which rosdep` init
- rosdep update
- rosdep install --default-yes --from-paths ./ --rosdistro $CI_ROS_DISTRO
script:
- mkdir -p ~/catkin_ws/src
- ln -s $TRAVIS_BUILD_DIR ~/catkin_ws/src/repo
- cd ~/catkin_ws
- source /opt/ros/$CI_ROS_DISTRO/setup.bash
- catkin_make
- catkin_make --force-cmake
- catkin_make run_tests
- catkin_test_results .
- catkin_make install
notifications:
email: false