Skip to content

Commit 1c80cd0

Browse files
committed
adding coverage to readme, set supported versions
1 parent 9367e48 commit 1c80cd0

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ docs/_build
88
.idea
99
testing/env
1010
env/
11+
**/.coverage

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ install:
1515

1616
script:
1717
- flake8 bootstrapform_jinja/
18-
- cd testing && coverage run --source=bootstrapform_jinja manage.py test && mv .coverage ..
18+
- cd testing && coverage run --source=bootstrapform_jinja manage.py test && mv .coverage .. && cd ..
1919

2020
after_success:
21-
- ls -lha
21+
- pwd && ls -lha
2222
- bash <(curl -s https://codecov.io/bash)
2323

2424
deploy:
@@ -31,3 +31,4 @@ deploy:
3131
on:
3232
tags: true
3333
python: 3.6
34+
condition: $DJANGO = django==1.11.3

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Django bootstrap forms for django-jinja
33

44
[![Build Status](https://travis-ci.org/tutorcruncher/django-jinja-bootstrap-form.svg?branch=master&style=flat)](https://travis-ci.org/tutorcruncher/django-jinja-bootstrap-form)
55
[![PyPI Status](https://img.shields.io/pypi/v/django-jinja-bootstrap-form.svg?style=flat)](https://pypi.python.org/pypi/django-jinja-bootstrap-form)
6+
[![codecov](https://codecov.io/gh/tutorcruncher/django-jinja-bootstrap-form/branch/master/graph/badge.svg)](https://codecov.io/gh/tutorcruncher/django-jinja-bootstrap-form)
67

78
Port of [django-bootstrap-form](https://github.com/tzangms/django-bootstrap-form) which is compatible with
89
[django-jinja](https://github.com/niwibe/django-jinja).
@@ -11,7 +12,7 @@ Twitter Bootstrap for Django Forms.
1112

1213
**django-jinja-bootstrap-form** has been used in production for 6 months and is stable.
1314

14-
Supports Django 1.7, 1.8. Python 2.7, >=3.3.
15+
Supports Django >=1.8. Python >=3.5.
1516

1617
See [django-bootstrap-form](https://github.com/tzangms/django-bootstrap-form) for documentation. Usage should
1718
be the same except:

0 commit comments

Comments
 (0)