summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/README.md b/README.md
index 377821e0..62577b40 100644
--- a/README.md
+++ b/README.md
@@ -20,6 +20,9 @@ but I have given up on maintaining it for parabolaweb.
# Archweb README
+[![Build Status](https://travis-ci.org/archlinux/archweb.svg?branch=master)](https://travis-ci.org/archlinux/archweb)
+[![Coverage Status](https://coveralls.io/repos/github/archlinux/archweb/badge.svg?branch=master)](https://coveralls.io/github/archlinux/archweb?branch=master)
+
To get a pretty version of this document, run
$ markdown README > README.html
@@ -105,6 +108,20 @@ required. A simple debugging SMTP server can be setup using Python.
In local_settings.py change the EMAIL_HOST to 'localhost' and the EMAIL_PORT to
1025.
+# Running tests and coverage
+
+To the unittests execute the following commands:
+
+ ./manage.py collectstatic --noinput
+ ./manage.py test
+
+Running coverage:
+
+ pip install coverage
+ coverage run --omit='env*' --source='.' manage.py test
+ coverage report
+
+
# Production Installation
Ask someone who knows, or you are going to be in trouble.