mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-27 03:58:06 +03:00
9a2f296fa2
* Factor out some of the code shared between the different sytest jenkins scripts * Exclude jenkins from the MANIFEST * Fix dendron build * Missing new line * Poke jenkins * Export the PORT_BASE and PORT_COUNT * Poke jenkins
19 lines
345 B
Bash
Executable file
19 lines
345 B
Bash
Executable file
#! /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
|