diff options
Diffstat (limited to 'jenkins/prepare_synapse.sh')
-rwxr-xr-x | jenkins/prepare_synapse.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/jenkins/prepare_synapse.sh b/jenkins/prepare_synapse.sh new file mode 100755 index 0000000000..ffcb1cfab9 --- /dev/null +++ b/jenkins/prepare_synapse.sh @@ -0,0 +1,20 @@ +#! /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 +$TOX_BIN/pip install setuptools +{ python synapse/python_dependencies.py + echo lxml psycopg2 +} | xargs $TOX_BIN/pip install |