add information on DAV_SERVER envvar to readme

This commit is contained in:
Markus Unterwaditzer 2014-03-19 16:09:31 +01:00
parent ff688ca2b9
commit ceb764b67d
2 changed files with 17 additions and 6 deletions

View file

@ -5,8 +5,7 @@ env:
- DAV_SERVER=radicale RADICALE_STORAGE=database
- DAV_SERVER=radicale_git RADICALE_STORAGE=filesystem
- DAV_SERVER=radicale_git RADICALE_STORAGE=database
- DAV_SERVER=owncloud
install:
- "./install-deps.sh"
script: py.test
install: "./install-deps.sh"
script: "./run-tests.sh tests/"

View file

@ -30,5 +30,17 @@ How to run the tests
::
sh install_deps.sh
py.test
sh install-deps.sh
sh run-tests.sh
The environment variable ``DAV_SERVER`` specifies which CalDAV/CardDAV server
to test against. It has to be set for both scripts, ``install-deps.sh`` and
``run-tests.sh``.
- ``DAV_SERVER=radicale``: The default, installs the latest Radicale release
from PyPI. Very fast, because no additional processes are needed.
- ``DAV_SERVER=radicale_git``: Same as ``radicale``, except that the
installation happens from their git repo. ``install-deps.sh`` is slightly
slower with this.
- ``DAV_SERVER=owncloud``: Uses latest ownCloud release. Very slow
installation, very slow tests.