From c45ea081face87e149bfd1ad7c727d44968f849a Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Thu, 2 Oct 2014 10:08:54 +0200 Subject: [PATCH] Coverage checks --- .travis.yml | 4 +++- README.md | 5 +++++ src/requirements.txt | 3 +++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 727ec09e6f..4e2136a39e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,4 +10,6 @@ before_script: - python manage.py check - python manage.py validate script: - - python manage.py test + - coverage run manage.py test +after_success: + - coveralls diff --git a/README.md b/README.md index 889a8a3ecd..215065f313 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,11 @@ tixl ==== +[![Docs](https://readthedocs.org/projects/tixl/badge/)](https://readthedocs.org/projects/tixl/) +[![Build Status](https://travis-ci.org/tixl/tixl.svg?branch=master)](https://travis-ci.org/tixl/tixl) +[![Coverage Status](https://img.shields.io/coveralls/tixl/tixl.svg)](https://coveralls.io/r/tixl/tixl) + + Reinventing ticket presales, one bit at a time. Project status diff --git a/src/requirements.txt b/src/requirements.txt index c834f57146..d8316ae4d5 100644 --- a/src/requirements.txt +++ b/src/requirements.txt @@ -11,3 +11,6 @@ pep8 pep8-naming flake8 django-debug-toolbar +coveralls +coverage +