Skip to content

Commit 7b83c35

Browse files
Merge pull request #23 from ekonstantinidis/setup-codecov
Setup Codecov
2 parents 12ff1e5 + cdaed6f commit 7b83c35

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
language: python
22

3+
sudo: false
4+
35
python:
46
- "2.7"
57
- "3.4"
@@ -12,10 +14,14 @@ env:
1214
install:
1315
- pip install -r requirements.txt
1416
- pip install -U Django==$DJANGO_VERSION
17+
- pip install codecov
1518

1619
script:
1720
- python runtests.py
1821

22+
after_success:
23+
- codecov
24+
1925
notifications:
2026
slack:
2127
secure: ZTzxh+tXuf7uaFMBQtrjupS+qqtM3dsnYgHptErsg3SjH0q1jH+HpKD+1RlqGqN36mREB1wSlOhGMzfyGNeNhl0PHQLEtZhs3dRLdzR1xMZWKm7xtCe4TcFoSPh5SoLOHrQVaSEyHeE53gkbOfI7Q5SqVRJOlJv9iCCD8TM+KVdDubCeByevunFSzGFwdLvtk7QpRwXivOGJdJHXXWgVl6ieviQKun5Z03woiLr5L4p37szVkbD60T5lFYAhCL1PzLQ6hVhDn7L4J06LIaQ+l+Jp6cunB1iJtR1Rz+C7g/r2VGgJ5G3sHB3QyFqw9Q/E3oBB81xQTwjL7WSfDuKctW2CPWHac0T9VhidQDoq7uR0EYPMkZXnc+iZa5wmL8IfjEadse0rxdfiIOE+mev+i5BrzHBq/+tZV/D+HKzsRXUEf3BZaRpq7gQHWbj0dusX+R504BQtKqYaGqBFdWJ0+Dry739R4xTeWk10Xa3wpzSFQ1c0yUQbY+3W/DNSYKcRV+Z9eGhMSO1QfBlGzqTlkWkVDnD9OYIpo5iJOkDouJVtzPOyyFBoNGqkvUHiKBO6ohuh48S3xXrjhihkz8xuOSrU1W7xGhCG2RA/vHZh8Fm20l1oIJ/p/Gn6kTLT33XZsxnF9C0Qmgvr6f96MKNPJjNKp0zYj4tJaZr9Xi4rsD8=

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# [Django Rest Framework Docs](http://www.drfdocs.com/) [![travis][travis-image]][travis-url] [![pypi][pypi-image]][pypi-url]
1+
# [Django Rest Framework Docs](http://www.drfdocs.com/) [![travis][travis-image]][travis-url] [![codecov][codecov-image]][codecov-url] [![pypi][pypi-image]][pypi-url]
22

33
Document Web APIs made with Django Rest Framework.
44

@@ -58,3 +58,6 @@ First of all thanks to the [Django](http://www.djangoproject.com/) core team and
5858

5959
[pypi-image]: https://img.shields.io/pypi/v/drfdocs.svg
6060
[pypi-url]: https://pypi.python.org/pypi/drfdocs/
61+
62+
[codecov-image]: https://codecov.io/github/ekonstantinidis/django-rest-framework-docs/coverage.svg?branch=master
63+
[codecov-url]:https://codecov.io/github/ekonstantinidis/django-rest-framework-docs?branch=master

0 commit comments

Comments
 (0)