mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Better builds
This commit is contained in:
parent
273cc4d6fd
commit
6433c5dc15
4 changed files with 19 additions and 3 deletions
|
|
@ -1,8 +1,11 @@
|
||||||
language: python
|
language: python
|
||||||
python: "2.7"
|
python: "2.7"
|
||||||
|
env:
|
||||||
|
- DAV_SERVER=radicale
|
||||||
|
- DAV_SERVER=radicale-git
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- "pip install ."
|
- "pip install ."
|
||||||
- "pip install -r dev_requirements.txt"
|
- "sh install_deps.sh"
|
||||||
|
|
||||||
script: py.test
|
script: py.test
|
||||||
|
|
|
||||||
|
|
@ -20,5 +20,5 @@ Run `vdirsyncer --help`.
|
||||||
## How to run the tests
|
## How to run the tests
|
||||||
|
|
||||||
pip install .
|
pip install .
|
||||||
pip install -r dev_requirements.txt
|
sh install_deps.sh
|
||||||
py.test
|
py.test
|
||||||
|
|
|
||||||
14
install-deps.sh
Normal file
14
install-deps.sh
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
pip install -r requirements.txt
|
||||||
|
[[ -z "$DAV_SERVER" ]] && DAV_SERVER=radicale
|
||||||
|
case "$DAV_SERVER" in
|
||||||
|
"radicale")
|
||||||
|
pip install radicale
|
||||||
|
;;
|
||||||
|
"radicale-git")
|
||||||
|
pip install git+https://github.com/Kozea/Radicale.git
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "$DAV_SERVER is not known."
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
Radicale
|
|
||||||
Werkzeug
|
Werkzeug
|
||||||
pytest
|
pytest
|
||||||
pytest-capturelog
|
pytest-capturelog
|
||||||
Loading…
Reference in a new issue