Skip to content

Commit

Permalink
coveralls.io
Browse files Browse the repository at this point in the history
  • Loading branch information
ateoto committed Sep 9, 2013
1 parent 153b56c commit a5e27a0
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[run]
source = boulange
omit =
*/tests*
*/migrations*
*/admin*

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ dist/
docs/_build/
app_media/
app_static/
*coverage/
.coverage
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ before_install:
- "sh -e /etc/init.d/xvfb start"
install: pip install -r test_requirements.txt --use-mirrors
script: python boulange/tests/runtests.py
after_success: coveralls
6 changes: 6 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Boulange
========

.. image:: https://travis-ci.org/Ateoto/django-boulange.png?branch=master
:target: https://travis-ci.org/Ateoto/django-boulange

.. image:: https://coveralls.io/repos/Ateoto/django-boulange/badge.png?branch=master
:target: https://coveralls.io/r/Ateoto/django-boulange

Pastry inventory tracker.

Installation
Expand Down
1 change: 1 addition & 0 deletions boulange/tests/test_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
os.path.join(APP_ROOT, 'templates'),
)

COVERAGE_USE_CACHE = True
COVERAGE_REPORT_HTML_OUTPUT_DIR = os.path.join(
os.path.join(APP_ROOT, 'tests/coverage'))
COVERAGE_MODULE_EXCLUDES = [
Expand Down
1 change: 1 addition & 0 deletions test_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ fabric
factory_boy
mock
selenium
coveralls

0 comments on commit a5e27a0

Please sign in to comment.