Skip to content

Commit 6c6f8c5

Browse files
author
Jesús Espino
committed
Adding travis
1 parent 83e4d1f commit 6c6f8c5

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

.travis.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
language: python
2+
python:
3+
- "2.6"
4+
- "2.7"
5+
install:
6+
- pip install -e . --use-mirrors
7+
- pip install django --use-mirrors
8+
- pip install python-magic --use-mirrors
9+
- pip install coveralls --use-mirrors
10+
script:
11+
- coverage run --source=validatedfile runtests.py
12+
notifications:
13+
email:
14+
recipients:
15+
16+
17+
on_success: change
18+
on_failure: change
19+
after_success:
20+
- coveralls

README.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
django-validated-file
22
=====================
33

4+
.. image:: https://travis-ci.org/kaleidos/django-validated-file.png?branch=master
5+
:target: https://travis-ci.org/kaleidos/django-validated-file
6+
7+
.. image:: https://coveralls.io/repos/kaleidos/django-validated-file/badge.png?branch=master
8+
:target: https://coveralls.io/r/kaleidos/django-validated-file?branch=master
9+
10+
.. image:: https://pypip.in/v/django-validated-file/badge.png
11+
:target: https://crate.io/packages/django-validated-file
12+
13+
.. image:: https://pypip.in/d/django-validated-file/badge.png
14+
:target: https://crate.io/packages/django-validated-file
15+
16+
417
This Django app adds a new field type, ValidatedFileField, that add the
518
capability of checking the document size and types the user may send.
619

0 commit comments

Comments
 (0)