Merge branch 'master' of https://github.com/jsancho-gpl/datasette-pytables
authorJavier Sancho <jsf@jsancho.org>
Fri, 1 Jun 2018 10:18:29 +0000 (12:18 +0200)
committerJavier Sancho <jsf@jsancho.org>
Fri, 1 Jun 2018 10:18:29 +0000 (12:18 +0200)
.travis.yml [new file with mode: 0644]
README.md

diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..716b66e
--- /dev/null
@@ -0,0 +1,13 @@
+language: python
+
+python:
+  # - 3.5  # Commented out because it complains about "Exception: No database connector found for /tmp/tmppd4goq40/test_tables.h5"
+  - 3.6
+
+before_install:
+  # Install datasette dependencies
+  - pip install pytest aiohttp beautifulsoup4
+
+script:
+  - python setup.py install
+  - pytest
index a447c04..3871d78 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,3 +1,6 @@
+[![Build Status](https://travis-ci.org/PyTables/datasette-pytables.svg?branch=master)](https://travis-ci.org/PyTables/datasette-pytables)
+
+
 # datasette-pytables
 
 Datasette-PyTables provides a web interface and a JSON API for [PyTables](https://github.com/PyTables/PyTables) files, allowing them to be accessible for e.g. Javascript programs. It works in conjunction with [Datasette-Core](https://github.com/PyTables/datasette-core), a trivial fork of the original [Datasette](https://github.com/simonw/datasette), which provides a web interface for SQLite files.  This fork is able to work with SQLite files, like the original project, but can accept external connectors for any kind of database files, so you can develop your own connector for your favourite data container if you want (read [developers doc](https://github.com/PyTables/datasette-pytables/blob/master/DEVELOPERS.md))