Skip to content

Commit

Permalink
Merge pull request #54 from gregoil/feature/coveralls
Browse files Browse the repository at this point in the history
coveralls integration to track current tests coverage
  • Loading branch information
gregoil committed Apr 27, 2018
2 parents fd51306 + 0e76d94 commit 9baf14e
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 5 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
language: python
python:
- '2.7'
install: pip install tox

install: pip install tox coveralls
script: tox
after_success: coveralls

deploy:
provider: pypi
on:
Expand Down
18 changes: 15 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,14 +1,26 @@
Rotest
------

.. image:: https://img.shields.io/pypi/v/rotest.svg
:alt: PyPI
:target: https://pypi.org/project/rotest/

.. image:: https://img.shields.io/pypi/pyversions/rotest.svg
:alt: PyPI - Python Version
:target: https://pypi.org/project/rotest/

.. image:: https://travis-ci.org/gregoil/rotest.svg?branch=master
:target: https://travis-ci.org/gregoil/rotest

.. image:: https://ci.appveyor.com/api/projects/status/uy9grwc52wkpaaq9/branch/master?svg=true
:target: https://ci.appveyor.com/project/gregoil/rotest

.. image:: https://img.shields.io/pypi/v/rotest.svg
:alt: PyPI
:target: https://pypi.python.org/pypi/rotest/
.. image:: https://coveralls.io/repos/github/gregoil/rotest/badge.svg?branch=master
:target: https://coveralls.io/github/gregoil/rotest

.. image:: https://img.shields.io/readthedocs/rotest/stable.svg
:alt: Read the Docs (version)
:target: http://rotest.readthedocs.io/en/stable/

Rotest is a resource oriented testing framework, for writing system or
integration tests.
Expand Down
3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ basicstruct==1.0.3
colorama==0.3.9
configparser==3.5.0
constantly==15.1.0
coverage==4.5.1
decorator==4.1.2
Django==1.7.11
docopt==0.6.2
Expand All @@ -17,6 +18,7 @@ flake8==3.5.0
funcsigs==1.0.2
functools32==3.2.3.post2
hyperlink==17.3.1
idna==2.6
incremental==17.5.0
ipdb==0.10.3
ipdbugger==1.1.2
Expand All @@ -42,6 +44,7 @@ pyflakes==1.5.0
Pygments==2.2.0
pylint==1.7.6
pytest==3.2.2
pytest-cov==2.5.1
pytest-django==3.1.2
python-daemon==2.1.2
PyYAML==3.12
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ exclude =
migrations,__init__.py,settings.py,ut_settings.py

[pytest]
addopts = --reuse-db --disable-pytest-warnings
addopts = --reuse-db --disable-pytest-warnings --cov-report=html --cov=rotest
DJANGO_SETTINGS_MODULE = rotest.common.django_utils.ut_settings
python_files = test_*.py
filterwarnings =
Expand Down

0 comments on commit 9baf14e

Please sign in to comment.