-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from tonybaltovski/travis
Added TravisCI config.
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |