diff --git a/.travis.rosinstall b/.travis.rosinstall new file mode 100644 index 0000000..0df85b4 --- /dev/null +++ b/.travis.rosinstall @@ -0,0 +1,7 @@ +- git: + local-name: iop_msgs + uri: https://github.com/fkie/iop_msgs +- git: + local-name: iop_core + uri: https://github.com/fkie/iop_core + diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..015dde0 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,20 @@ +services: + - docker +language: cpp +env: + global: + - CATKIN_LINT=true + - CATKIN_LINT_ARGS='--package-path /root/catkin_ws/src/iop_core:/root/catkin_ws/src/iop_msgs' +# - CATKIN_CONFIG='--no-install' +# - VERBOSE_OUTPUT=true + matrix: + - ROS_DISTRO="indigo" ROS_REPO="ros" UPSTREAM_WORKSPACE=file $ROSINSTALL_FILENAME=".travis.rosinstall" + - ROS_DISTRO="jade" ROS_REPO="ros" UPSTREAM_WORKSPACE=file + - ROS_DISTRO="kinetic" ROS_REPO="ros-shadow-fixed" UPSTREAM_WORKSPACE=file + - ROS_DISTRO="kinetic" ROS_REPO="ros" UPSTREAM_WORKSPACE=file + - ROS_DISTRO="lunar" ROS_REPO="ros" UPSTREAM_WORKSPACE=file +install: + - git clone https://github.com/ros-industrial/industrial_ci.git .ci_config +script: + - .ci_config/travis.sh +