Skip to content

Commit

Permalink
Added Travis CI. Added documentation link
Browse files Browse the repository at this point in the history
  • Loading branch information
runfalk committed Dec 21, 2015
1 parent c43a90f commit 26ee724
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
language: python
python:
- 2.7
- 3.3
- 3.4
- 3.5
script:
- python -m unittest spans.tests.suite
21 changes: 18 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
Spans
=====
|test-status|

Spans is a pure Python implementation of PostgreSQL's range types [#]_. Range types
are conveinent when working with intervals of any kind. Every time you've found
yourself working with date_start and date_end, an interval may have been what
Expand Down Expand Up @@ -64,13 +66,16 @@ Installation
------------
Spans exists on PyPI.
::
.. code-block:: bash
pip install Spans
$ pip install Spans
Documentation
-------------
For full doumentation please run ``pydoc spans`` from a shell.
`Documentation <http://spans.readthedocs.org/en/latest/>`_ is hosted on Read the
Docs.
|documentation-status|
Use with Psycopg2
-----------------
Expand Down Expand Up @@ -107,3 +112,13 @@ For a deeper set of examples please refer to ``types.py`` and ``settypes.py``.
.. [#] http://www.postgresql.org/docs/9.2/static/rangetypes.html
.. [#] https://www.github.com/runfalk/psycospans
.. |test-status| image:: https://travis-ci.org/runfalk/spans.svg
:alt: Test status
:scale: 100%
:target: https://travis-ci.org/runfalk/spans
.. |documentation-status| image:: https://readthedocs.org/projects/spans/badge/
:alt: Documentation status
:scale: 100%
:target: http://spans.readthedocs.org/en/latest/

0 comments on commit 26ee724

Please sign in to comment.