diff options
author | Mark Haines <mark.haines@matrix.org> | 2016-08-03 11:12:47 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2016-08-03 11:12:47 +0100 |
commit | 921f17f93810ac07fd5d15494882db78fdcf3e3c (patch) | |
tree | bd4f29ec888a4e445654688e0f6da994be899a63 /jenkins/prepare_synapse.sh | |
parent | E2E keys: Make federation query share code with client query (diff) | |
parent | Factor out some of the code shared between the sytest scripts (#974) (diff) | |
download | synapse-921f17f93810ac07fd5d15494882db78fdcf3e3c.tar.xz |
Merge branch 'develop' into rav/refactor_device_query
Diffstat (limited to 'jenkins/prepare_synapse.sh')
-rwxr-xr-x | jenkins/prepare_synapse.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/jenkins/prepare_synapse.sh b/jenkins/prepare_synapse.sh new file mode 100755 index 0000000000..237223c81b --- /dev/null +++ b/jenkins/prepare_synapse.sh @@ -0,0 +1,19 @@ +#! /bin/bash + +cd "`dirname $0`/.." + +TOX_DIR=$WORKSPACE/.tox + +mkdir -p $TOX_DIR + +if ! [ $TOX_DIR -ef .tox ]; then + ln -s "$TOX_DIR" .tox +fi + +# set up the virtualenv +tox -e py27 --notest -v + +TOX_BIN=$TOX_DIR/py27/bin +python synapse/python_dependencies.py | xargs -n1 $TOX_BIN/pip install +$TOX_BIN/pip install lxml +$TOX_BIN/pip install psycopg2 |