mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-26 14:47:44 +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:
|
env:
|
||||||
- DAV_SERVER=radicale RADICALE_STORAGE=filesystem
|
- DAV_SERVER=radicale RADICALE_STORAGE=filesystem
|
||||||
- DAV_SERVER=radicale RADICALE_STORAGE=database
|
- DAV_SERVER=radicale RADICALE_STORAGE=database
|
||||||
- DAV_SERVER=radicale-git RADICALE_STORAGE=filesystem
|
- DAV_SERVER=radicale_git RADICALE_STORAGE=filesystem
|
||||||
- DAV_SERVER=radicale-git RADICALE_STORAGE=database
|
- DAV_SERVER=radicale_git RADICALE_STORAGE=database
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- "sh install-deps.sh"
|
- "sh install-deps.sh"
|
||||||
|
|
|
||||||
|
|
@ -1,15 +1,19 @@
|
||||||
pip install --use-mirrors .
|
pip install --use-mirrors .
|
||||||
pip install --use-mirrors -r requirements.txt
|
pip install --use-mirrors -r requirements.txt
|
||||||
[[ -z "$DAV_SERVER" ]] && DAV_SERVER=radicale
|
[[ -z "$DAV_SERVER" ]] && DAV_SERVER=radicale
|
||||||
case "$DAV_SERVER" in
|
|
||||||
"radicale")
|
radicale_deps() {
|
||||||
pip install --use-mirrors radicale
|
if [[ "$RADICALE_STORAGE" == "database" ]]; then
|
||||||
;;
|
pip install --use-mirrors sqlalchemy
|
||||||
"radicale-git")
|
fi
|
||||||
pip install git+https://github.com/Kozea/Radicale.git
|
}
|
||||||
;;
|
|
||||||
*)
|
davserver_radicale() {
|
||||||
echo "$DAV_SERVER is not known."
|
pip install --use-mirrors radicale
|
||||||
exit 1
|
}
|
||||||
;;
|
|
||||||
esac
|
davserver_radicale_git() {
|
||||||
|
pip install git+https://github.com/Kozea/Radicale.git
|
||||||
|
}
|
||||||
|
|
||||||
|
davserver_$DAV_SERVER
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue