mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Only install coveralls and vdirsyncer for tests.
This commit is contained in:
parent
36a171ca17
commit
4067837b37
1 changed files with 8 additions and 8 deletions
16
build.sh
16
build.sh
|
|
@ -29,6 +29,14 @@ _davserver_radicale() {
|
||||||
install_build_tests() {
|
install_build_tests() {
|
||||||
_install_testrunner
|
_install_testrunner
|
||||||
_davserver_$DAV_SERVER
|
_davserver_$DAV_SERVER
|
||||||
|
if [ "$TRAVIS" = "true" ]; then
|
||||||
|
export CFLAGS=-O0 # speed up builds of packages which don't have wheels
|
||||||
|
$PIP_INSTALL --upgrade wheel pip setuptools
|
||||||
|
PIP_INSTALL="pip install --use-wheel --find-links=http://dev.unterwaditzer.net/vdirsyncer/wheels/"
|
||||||
|
$PIP_INSTALL coveralls
|
||||||
|
fi
|
||||||
|
|
||||||
|
$PIP_INSTALL --editable .
|
||||||
}
|
}
|
||||||
|
|
||||||
run_build_tests() {
|
run_build_tests() {
|
||||||
|
|
@ -56,14 +64,6 @@ TESTSERVER_BASE=./tests/storage/dav/servers/
|
||||||
install_builds() {
|
install_builds() {
|
||||||
echo "Installing for $BUILD"
|
echo "Installing for $BUILD"
|
||||||
PIP_INSTALL="pip install"
|
PIP_INSTALL="pip install"
|
||||||
if [ "$TRAVIS" = "true" ]; then
|
|
||||||
export CFLAGS=-O0 # speed up builds of packages which don't have wheels
|
|
||||||
$PIP_INSTALL --upgrade wheel pip setuptools
|
|
||||||
PIP_INSTALL="pip install --use-wheel --find-links=http://dev.unterwaditzer.net/vdirsyncer/wheels/"
|
|
||||||
$PIP_INSTALL coveralls
|
|
||||||
fi
|
|
||||||
|
|
||||||
$PIP_INSTALL --editable .
|
|
||||||
install_build_$BUILD
|
install_build_$BUILD
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue