Skip to content

Commit 6fc8415

Browse files
committedJun 29, 2015
add a travis job
1 parent 36a997d commit 6fc8415

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
 

‎.travis.yml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
language: cpp
2+
compiler:
3+
- gcc
4+
- clang
5+
install:
6+
- export CI_ROS_DISTRO=hydro
7+
- echo $CI_ROS_DISTRO
8+
# Add ROS repositories
9+
- sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu precise main" > /etc/apt/sources.list.d/ros-latest.list'
10+
- wget http://packages.ros.org/ros.key -O - | sudo apt-key add -
11+
- sudo apt-get update
12+
# Install and initialize rosdep
13+
- sudo apt-get install python-rosdep
14+
- sudo `which rosdep` init
15+
- rosdep update
16+
# Use rosdep to install rviz's dependencies
17+
- rosdep install --default-yes --from-paths ./ --rosdistro $CI_ROS_DISTRO
18+
script:
19+
- source /opt/ros/$CI_ROS_DISTRO/setup.bash
20+
- mkdir build
21+
- cd build
22+
- cmake .. -DCMAKE_INSTALL_PREFIX=./install
23+
- make -j1
24+
- make -j1 tests
25+
- make -j1 run_tests
26+
- catkin_test_results .
27+
- make -j1 install
28+
notifications:
29+
email: false

0 commit comments

Comments
 (0)
Please sign in to comment.