Skip to content

Commit

Permalink
Merge pull request #9 from tonybaltovski/travis
Browse files Browse the repository at this point in the history
Added TravisCI config.
  • Loading branch information
Daniel Miller authored Jun 23, 2016
2 parents 909e380 + b2a1e63 commit e9c9a96
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
sudo: required
dist: trusty
language: generic
compiler:
- gcc
- clang
env:
- CC=gcc CXX=g++
- CC=clang CXX=clang++
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 . --ignore-src --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 run_tests
- catkin_test_results .
- catkin_make install
notifications:
email: false

0 comments on commit e9c9a96

Please sign in to comment.