File 0016-Enable-travis-build-closes-15.patch of Package libght

From e323c506b4180bb6de825c5d637f21f569da4cb4 Mon Sep 17 00:00:00 2001
From: Sandro Santilli <strk@keybit.net>
Date: Wed, 4 Feb 2015 18:12:58 +0100
Subject: [PATCH 16/16] Enable travis build, closes #15

---
 .travis.yml | 10 ++++++++++
 README.rst  |  3 +++
 2 files changed, 13 insertions(+)
 create mode 100644 .travis.yml

diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..6f37cee
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,10 @@
+language: c
+
+before_install:
+  - sudo apt-get update -qq
+  - sudo apt-get install -q liblas-dev libcunit1-dev
+
+script:
+  - cmake .
+  - make
+  - make test
diff --git a/README.rst b/README.rst
index 83bbc76..963298b 100644
--- a/README.rst
+++ b/README.rst
@@ -1,3 +1,6 @@
+.. image:: https://secure.travis-ci.org/pramsey/libght.png
+    :target: http://travis-ci.org/pramsey/libght
+
 GeoHashTree for Point Cloud Data
 ================================
 
-- 
1.8.4.5
openSUSE Build Service is sponsored by