Skip to content

Commit

Permalink
Added coveralls and coverage. (#85)
Browse files Browse the repository at this point in the history
* Added coveralls and coverage

* Added argument to coverage

* Added source argument
  • Loading branch information
nu11us authored and AvaisP committed Nov 29, 2017
1 parent 6a2fbcd commit 36f7ffd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,12 @@ script:
- python manage.py makemigrations
- python manage.py migrate
- python manage.py test
- coverage run --source='.' manage.py test api

cache:
directories:
- node_modules
- $HOME/.cache/pip

after_success:
- coveralls
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Origami

[![Build Status](https://travis-ci.org/Cloud-CV/Origami.svg?branch=master)](https://travis-ci.org/Cloud-CV/cvfy-frontend.svg?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/Cloud-CV/Origami/badge.svg?branch=master)](https://coveralls.io/github/Cloud-CV/Origami?branch=master)
[![Dependency Status](https://david-dm.org/Cloud-CV/Origami.svg)](https://david-dm.org/Cloud-CV/cvfy-frontend)
[![devDependency Status](https://david-dm.org/Cloud-CV/Origami/dev-status.svg)](https://david-dm.org/Cloud-CV/cvfy-frontend#info=devDependencies)
[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ incremental==17.5.0
msgpack-python==0.4.8
oauthlib==2.0.2
psycopg2==2.7.1
python-coveralls==2.9.1
python-openid==2.2.5
pytz==2017.2
redis==2.10.5
Expand Down

0 comments on commit 36f7ffd

Please sign in to comment.