Commit 79ca3037 authored by Christos Stavrakakis's avatar Christos Stavrakakis
Browse files

Small fixes to ci scripts

parent 5ea64814
......@@ -2,10 +2,10 @@ PROJECTS="\
snf-common\
snf-webproject\
snf-astakos-app\
snf-cyclades-app\
snf-cyclades-gtools\
snf-pithos-app\
snf-cyclades-app\
snf-pithos-backend\
snf-pithos-tools\
snf-pithos-app\
snf-quotaholder-app\
snf-tools"
#!/usr/bin/env sh
if [ -n $VIRTUAL_ENV ]; then
OPTIONS=--script-dir=$VIRTUAL_ENV/bin/
echo $OPTIONS
else
OPTIONS=
fi
set -e
. ./ci/config
# Update version
python update_version.py
for project in $PROJECTS; do
cd $project
python setup.py develop
python setup.py develop $OPTIONS
cd -
done
#!/usr/bin/env sh
snf-manage test api db logic plankton vmapi --settings=synnefo.settings.test
set -e
TEST="$(which snf-manage) test api db logic plankton vmapi --settings=synnefo.settings.test"
if coverage >/dev/null 2>&1; then
coverage run $TEST
coverage report --include=snf-*
else
echo "coverage not installed"
$TEST
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment