mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
Fix missing sqlalchemy dependency
This commit is contained in:
parent
78ea006f6e
commit
47f6a005ab
2 changed files with 18 additions and 14 deletions
|
|
@ -3,8 +3,8 @@ python: "2.7"
|
|||
env:
|
||||
- DAV_SERVER=radicale RADICALE_STORAGE=filesystem
|
||||
- DAV_SERVER=radicale RADICALE_STORAGE=database
|
||||
- DAV_SERVER=radicale-git RADICALE_STORAGE=filesystem
|
||||
- DAV_SERVER=radicale-git RADICALE_STORAGE=database
|
||||
- DAV_SERVER=radicale_git RADICALE_STORAGE=filesystem
|
||||
- DAV_SERVER=radicale_git RADICALE_STORAGE=database
|
||||
|
||||
install:
|
||||
- "sh install-deps.sh"
|
||||
|
|
|
|||
|
|
@ -1,15 +1,19 @@
|
|||
pip install --use-mirrors .
|
||||
pip install --use-mirrors -r requirements.txt
|
||||
[[ -z "$DAV_SERVER" ]] && DAV_SERVER=radicale
|
||||
case "$DAV_SERVER" in
|
||||
"radicale")
|
||||
pip install --use-mirrors radicale
|
||||
;;
|
||||
"radicale-git")
|
||||
pip install git+https://github.com/Kozea/Radicale.git
|
||||
;;
|
||||
*)
|
||||
echo "$DAV_SERVER is not known."
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
radicale_deps() {
|
||||
if [[ "$RADICALE_STORAGE" == "database" ]]; then
|
||||
pip install --use-mirrors sqlalchemy
|
||||
fi
|
||||
}
|
||||
|
||||
davserver_radicale() {
|
||||
pip install --use-mirrors radicale
|
||||
}
|
||||
|
||||
davserver_radicale_git() {
|
||||
pip install git+https://github.com/Kozea/Radicale.git
|
||||
}
|
||||
|
||||
davserver_$DAV_SERVER
|
||||
|
|
|
|||
Loading…
Reference in a new issue