Revision ca0a879c

b/ci/config
2 2
 snf-common\
3 3
 snf-webproject\
4 4
 snf-astakos-app\
5
 snf-cyclades-app\
6 5
 snf-cyclades-gtools\
7
 snf-pithos-app\
6
 snf-cyclades-app\
8 7
 snf-pithos-backend\
9 8
 snf-pithos-tools\
9
 snf-pithos-app\
10 10
 snf-quotaholder-app\
11 11
 snf-tools"
b/ci/install.sh
1 1
#!/usr/bin/env sh
2 2

  
3
if [ -n $VIRTUAL_ENV ]; then
4
  OPTIONS=--script-dir=$VIRTUAL_ENV/bin/
5
  echo $OPTIONS
6
else
7
  OPTIONS=
8
fi
9

  
3 10
set -e
4 11
. ./ci/config
5 12

  
13
# Update version
14
python update_version.py
15

  
6 16
for project in $PROJECTS; do
7 17
  cd $project
8
  python setup.py develop
18
  python setup.py develop $OPTIONS
9 19
  cd -
10 20
done
b/ci/tests.sh
1 1
#!/usr/bin/env sh
2 2

  
3
snf-manage test api db logic plankton vmapi --settings=synnefo.settings.test
3
set -e
4

  
5
TEST="$(which snf-manage) test api db logic plankton vmapi --settings=synnefo.settings.test"
6

  
7
if coverage >/dev/null 2>&1; then
8
  coverage run $TEST
9
  coverage report --include=snf-*
10
else
11
  echo "coverage not installed"
12
  $TEST
13
fi

Also available in: Unified diff