mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Remove useless functions
This commit is contained in:
parent
4067837b37
commit
3537d9057d
1 changed files with 3 additions and 16 deletions
19
build.sh
19
build.sh
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -e
|
||||||
_testserver_from_repo() {
|
_davserver() {
|
||||||
# Maybe tmpfs is mounted on /tmp/, can't harm anyway.
|
# Maybe tmpfs is mounted on /tmp/, can't harm anyway.
|
||||||
if [ ! -d $TESTSERVER_BASE$1/ ]; then
|
if [ ! -d $TESTSERVER_BASE$1/ ]; then
|
||||||
git clone --depth=1 \
|
git clone --depth=1 \
|
||||||
|
|
@ -13,22 +13,9 @@ _testserver_from_repo() {
|
||||||
sh install.sh
|
sh install.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
_install_testrunner() {
|
|
||||||
$PIP_INSTALL pytest pytest-xprocess git+https://github.com/geier/leif
|
|
||||||
}
|
|
||||||
|
|
||||||
_davserver_owncloud() {
|
|
||||||
_testserver_from_repo owncloud
|
|
||||||
}
|
|
||||||
|
|
||||||
_davserver_radicale() {
|
|
||||||
_testserver_from_repo radicale
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
install_build_tests() {
|
install_build_tests() {
|
||||||
_install_testrunner
|
$PIP_INSTALL pytest pytest-xprocess git+https://github.com/geier/leif
|
||||||
_davserver_$DAV_SERVER
|
_davserver $DAV_SERVER
|
||||||
if [ "$TRAVIS" = "true" ]; then
|
if [ "$TRAVIS" = "true" ]; then
|
||||||
export CFLAGS=-O0 # speed up builds of packages which don't have wheels
|
export CFLAGS=-O0 # speed up builds of packages which don't have wheels
|
||||||
$PIP_INSTALL --upgrade wheel pip setuptools
|
$PIP_INSTALL --upgrade wheel pip setuptools
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue