Skip to content

Commit

Permalink
Added coveralls to travis and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
adusca committed Feb 26, 2015
1 parent da6dd3b commit 149c327
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ python:

install:
- pip install tox
- pip install coveralls

script:
- tox

after_success:
coveralls
6 changes: 5 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
===========================================
mozci - Mozilla Continous Integration Tools
mozci - Mozilla Continuous Integration Tools
===========================================

.. image:: http://img.shields.io/travis/armenzg/mozilla_ci_tools/master.png
Expand All @@ -10,6 +10,10 @@ mozci - Mozilla Continous Integration Tools
:target: https://readthedocs.org/projects/mozilla-ci-tools/?badge=latest
:alt: Documentation Status

.. image:: https://coveralls.io/repos/armenzg/mozilla_ci_tools/badge.svg
:target: https://coveralls.io/r/armenzg/mozilla_ci_tools
:alt: Test coverage status

* Free software: `Mozilla License`__

__ https://www.mozilla.org/MPL/
Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ envlist = py27
basepython = python2.7

deps =
coverage
coveralls
pep8
pyflakes
pytest

commands =
pep8 --config=.pep8rc docs mozci scripts test
pyflakes docs mozci scripts test
py.test test/
coverage run --source=mozci -m py.test test/

0 comments on commit 149c327

Please sign in to comment.