Skip to content

Commit 4bfdd92

Browse files
authored
Merge pull request #279 from closeio/add-coveralls
Add coveralls badge
2 parents 9ffe4fe + 4468094 commit 4bfdd92

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,17 @@ install:
2828
- travis_retry pip install --upgrade pip
2929
- travis_retry pip install --upgrade nose
3030
- travis_retry pip install --upgrade setuptools
31+
- travis_retry pip install coveralls
3132
- travis_retry pip install flake8
3233
- travis_retry pip install tox>=1.9
3334
- travis_retry tox -e $(echo py$TRAVIS_PYTHON_VERSION-me$MONGOENGINE | tr -d . | sed -e 's/pypypy/pypy/') -- -e test
3435

3536
before_script:
3637
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then tox -e flake8; fi
3738

39+
after_script:
40+
- coveralls --verbose
41+
3842
script:
3943
- tox -e $(echo py$TRAVIS_PYTHON_VERSION-me$MONGOENGINE | tr -d . | sed -e 's/pypypy/pypy/') -- --with-coverage
4044

README.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ Flask-MongoEngine
77
.. image:: https://travis-ci.org/MongoEngine/flask-mongoengine.svg?branch=master
88
:target: https://travis-ci.org/MongoEngine/flask-mongoengine
99

10+
.. image:: https://coveralls.io/repos/github/MongoEngine/flask-mongoengine/badge.svg?branch=master
11+
:target: https://coveralls.io/github/MongoEngine/flask-mongoengine?branch=master
12+
1013
About
1114
=====
1215
Flask-MongoEngine is a Flask extension that provides integration with MongoEngine. It handles connection management for your app.

0 commit comments

Comments
 (0)