summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2019-04-04 23:41:40 -0400
committerLuke Shumaker <lukeshu@parabola.nu>2019-04-04 23:41:40 -0400
commitf013c8d8cb06f7c993bbc41519de5ab7dd2ce0c4 (patch)
treeaa1c56be991f8584b47f62d695cb88941fdce638 /README.md
parentb5ed13a7eccddf71fb48d3fe8679f70d786d3fe5 (diff)
parent7f91c4effbd96b51de2b63323a5ea63b19573f48 (diff)
Merge branch 'archweb-generic' into lukeshu/masterHEADparabolaweb-2019-04-07masterlukeshu/master
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.