Selaa lähdekoodia

Adds Travis CI support and a rosinstall file. (#6)

Damon Kohler 9 vuotta sitten
vanhempi
commit
c9ed201d7e
4 muutettua tiedostoa jossa 32 lisäystä ja 1 poistoa
  1. 21 0
      .travis.yml
  2. 1 1
      Dockerfile
  3. 7 0
      README.rst
  4. 3 0
      cartographer_turtlebot.rosinstall

+ 21 - 0
.travis.yml

@@ -0,0 +1,21 @@
+# Copyright 2016 The Cartographer Authors
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+sudo: required
+services: docker
+install:
+  - git clone https://github.com/googlecartographer/cartographer_ros.git
+  - docker build cartographer_ros -t cartographer_ros
+  - rm -rf cartographer_ros
+script: docker build ${TRAVIS_BUILD_DIR} -t cartographer_turtlebot

+ 1 - 1
Dockerfile

@@ -12,7 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-FROM cartographer_ros_image
+FROM cartographer_ros
 COPY . cartographer_turtlebot
 RUN cartographer_turtlebot/scripts/install.bash
 COPY scripts/ros_entrypoint.sh /

+ 7 - 0
README.rst

@@ -16,6 +16,8 @@
 Cartographer ROS for TurtleBot 2
 ================================
 
+|build|
+
 Purpose
 =======
 
@@ -36,3 +38,8 @@ You can find information about contributing to Cartographer's TurtleBot support
 at our `Contribution page`_.
 
 .. _Contribution page: https://github.com/googlecartographer/cartographer_turtlebot/blob/master/CONTRIBUTING.md
+
+.. |build| image:: https://travis-ci.org/googlecartographer/cartographer_turtlebot.svg?branch=master
+    :alt: Build Status
+    :scale: 100%
+    :target: https://travis-ci.org/googlecartographer/cartographer_turtlebot

+ 3 - 0
cartographer_turtlebot.rosinstall

@@ -0,0 +1,3 @@
+- git: {local-name: src/cartographer, uri: 'https://github.com/googlecartographer/cartographer.git'}
+- git: {local-name: src/cartographer_ros, uri: 'https://github.com/googlecartographer/cartographer_ros.git'}
+- git: {local-name: src/cartographer_turtlebot, uri: 'https://github.com/googlecartographer/cartographer_turtlebot.git'}