代码拉取完成,页面将自动刷新
language:
- cpp
- python
python:
- "2.7"
compiler:
- gcc
env:
- ROS_DISTRO=hydro ROSWS=wstool BUILDER=catkin USE_DEB=true
- ROS_DISTRO=indigo ROSWS=wstool BUILDER=catkin USE_DEB=true
# matrix:
# allow_failures:
# - env: ROS_DISTRO=hydro ROSWS=wstool BUILDER=catkin USE_DEB=true
script:
- export CI_SOURCE_PATH=$(pwd)
- export REPOSITORY_NAME=${PWD##*/}
- echo "Testing branch $TRAVIS_BRANCH of $REPOSITORY_NAME"
- sudo sh -c 'echo "deb http://packages.ros.org/ros-shadow-fixed/ubuntu `lsb_release -cs` 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 -qq
- sudo apt-get install -qq -y python-catkin-pkg python-rosdep python-wstool python-catkin-tools ros-$ROS_DISTRO-catkin
- sudo rosdep init
- rosdep update; while [ $? != 0 ]; do sleep 1; rosdep update; done
- mkdir -p ~/ros/ws_$REPOSITORY_NAME/src
- cd ~/ros/ws_$REPOSITORY_NAME/src
- ln -s $CI_SOURCE_PATH . # Link the repo we are testing to the new workspace
- cd ..
- rosdep install -r -n --from-paths src --ignore-src --rosdistro $ROS_DISTRO -y
- source /opt/ros/$ROS_DISTRO/setup.bash
- catkin build
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。