From cf84fe58341cd820cd9c75827c02d081619b0f05 Mon Sep 17 00:00:00 2001 From: Martin Mahner Date: Tue, 26 Nov 2013 11:40:36 +0100 Subject: [PATCH] Updated readme. --- README.md | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 5ff869b..15a92af 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,29 @@ -====== dpaste ====== +[![Build Status](https://travis-ci.org/bartTC/dpaste.png?branch=master)](https://travis-ci.org/bartTC/dpaste) +[![Coverage Status](https://coveralls.io/repos/bartTC/dpaste/badge.png?branch=master)](https://coveralls.io/r/bartTC/dpaste?branch=master) + dpaste is a Django based pastebin. It's intended to run separatly or installed into an existing Django project. You can find a live example on http://dpaste.de/ - Testing -======= +------- -![](https://api.travis-ci.org/bartTC/dpaste.png) +dpaste is continuously tested on [Travis][travis]. You can also run the test +suite locally with [tox][tox]: -``` -$ pip install -r requirements.txt -$ pip install -e . -$ manage.py test dpaste -``` + $ pip install tox + $ tox + +A more manual approach is installing it all by hand in a virtual environment. +This is also the preferred way local development: + + $ pip install -e . + $ pip install -r requirements.txt + $ python runtests.py + +[travis]: https://travis-ci.org/bartTC/dpaste +[tox]: http://tox.readthedocs.org/en/latest/