diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..2713774 --- /dev/null +++ b/.travis.yml @@ -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