Skip to content

Commit b251b0a

Browse files
author
Vijay Katam
committed
Add coverage
1 parent 8833f97 commit b251b0a

File tree

5 files changed

+12
-4
lines changed

5 files changed

+12
-4
lines changed

.coveralls.yml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
repo_token: 6IWiQUkVo2YqKXHz17xzgPlIszzadUGwf

.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ install:
1111
- python setup.py -q install
1212
- pip install -r requirements-dev.txt
1313
# command to run tests
14-
script: make test
14+
script: make test
15+
after_success: coveralls

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ shell: dev-requirements
3535
pip install -e .
3636
python tests/shell.py
3737

38-
# coverage: dev-requirements
39-
# DJANGO_SETTINGS_MODULE=tests.settings python setup.py nosetests --with-django-nose --with-xcoverage --cover-package=django_cache_manager --cover-inclusive --cover-erase
38+
coverage: dev-requirements
39+
coverage run --source=django_cache_manager tests/manage.py test
4040

4141
dist: clean
4242
python setup.py sdist

README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ django-cache-manager
55
Simple cache manager for django models that caches querysets for a model. On an update or delete the model cache is
66
evicted.
77

8-
98
[![Build Status](https://travis-ci.org/vijaykatam/django-cache-manager.svg?branch=master)](https://travis-ci.org/vijaykatam/django-cache-manager)
9+
[![Coverage Status](https://img.shields.io/coveralls/vijaykatam/django-cache-manager.svg)](https://coveralls.io/r/vijaykatam/django-cache-manager)
1010

1111
## Installation
1212

@@ -83,5 +83,9 @@ To run tests
8383
make test
8484
```
8585

86+
##### Supported Django versions
87+
Supported - 1.5, 1.6, 1.7
88+
89+
8690

8791

requirements-dev.txt

+2
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ mock>=1,<2
55
nose>=1.3,<2
66
nosexcover>=1.0.8
77
fake-factory>=0.4.0,<1
8+
wheel
9+
coveralls

0 commit comments

Comments
 (0)