diff --git a/.travis.yml b/.travis.yml index 8455d31..3b9f87e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,6 @@ env: - DAV_SERVER=radicale-git install: - - "pip install ." - "sh install-deps.sh" script: py.test diff --git a/README.md b/README.md index 57ad626..5f214c2 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,5 @@ Run `vdirsyncer --help`. ## How to run the tests - pip install . sh install_deps.sh py.test diff --git a/install-deps.sh b/install-deps.sh index c4e5d56..d130e64 100644 --- a/install-deps.sh +++ b/install-deps.sh @@ -1,8 +1,9 @@ -pip install -r requirements.txt +pip install --use-mirrors . +pip install --use-mirrors -r requirements.txt [[ -z "$DAV_SERVER" ]] && DAV_SERVER=radicale case "$DAV_SERVER" in "radicale") - pip install radicale + pip install --use-mirrors radicale ;; "radicale-git") pip install git+https://github.com/Kozea/Radicale.git