Remove useless functions

This commit is contained in:
Markus Unterwaditzer 2014-04-30 00:39:28 +02:00
parent 4067837b37
commit 3537d9057d

View file

@ -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