Skip to content

Commit

Permalink
Implemented travis tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Chilipp committed Aug 20, 2016
1 parent 66fb1ba commit d42cc8b
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 13 deletions.
15 changes: 15 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
language: python
python:
# We don't actually use the Travis Python, but this keeps it organized.
- "2.7"
- "3.4"
- "3.5"
install:
- pip install coveralls
- python setup.py install

script:
- coverage run --source=docrep setup.py pytest

after_success:
coveralls
26 changes: 13 additions & 13 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,33 +17,33 @@ A Python Module for intelligent reuse of docstrings
* - package
- |version| |conda| |supported-versions| |supported-implementations|

.. |docs| image:: http://readthedocs.org/projects/psyplot/badge/?version=latest
.. |docs| image:: http://readthedocs.org/projects/docrep/badge/?version=latest
:alt: Documentation Status
:target: http://psyplot.readthedocs.io/en/latest/?badge=latest
:target: http://docrep.readthedocs.io/en/latest/?badge=latest

.. |travis| image:: https://travis-ci.org/Chilipp/psyplot.svg?branch=master
.. |travis| image:: https://travis-ci.org/Chilipp/docrep.svg?branch=master
:alt: Travis
:target: https://travis-ci.org/Chilipp/psyplot
:target: https://travis-ci.org/Chilipp/docrep

.. |coveralls| image:: https://coveralls.io/repos/github/Chilipp/psyplot/badge.svg?branch=master
.. |coveralls| image:: https://coveralls.io/repos/github/Chilipp/docrep/badge.svg?branch=master
:alt: Coverage
:target: https://coveralls.io/github/Chilipp/psyplot?branch=master
:target: https://coveralls.io/github/Chilipp/docrep?branch=master

.. |version| image:: https://img.shields.io/pypi/v/psyplot.svg?style=flat
.. |version| image:: https://img.shields.io/pypi/v/docrep.svg?style=flat
:alt: PyPI Package latest release
:target: https://pypi.python.org/pypi/psyplot
:target: https://pypi.python.org/pypi/docrep

.. |conda| image:: https://anaconda.org/chilipp/psyplot/badges/installer/conda.svg
.. |conda| image:: https://anaconda.org/chilipp/docrep/badges/installer/conda.svg
:alt: conda
:target: https://conda.anaconda.org/chilipp

.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/psyplot.svg?style=flat
.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/docrep.svg?style=flat
:alt: Supported versions
:target: https://pypi.python.org/pypi/psyplot
:target: https://pypi.python.org/pypi/docrep

.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/psyplot.svg?style=flat
.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/docrep.svg?style=flat
:alt: Supported implementations
:target: https://pypi.python.org/pypi/psyplot
:target: https://pypi.python.org/pypi/docrep


Documentation
Expand Down

0 comments on commit d42cc8b

Please sign in to comment.