mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-18 16:02:15 +01:00
0f6ec6d1ae
It seems that, at some point, the ability to run tox on old servers (with old setuptools) got broken - and it was only working on our Jenkins instance by dint of reusing the tox environments. Let's try to get tox to do the right thing, and remove the guff from jenkins/prepare_synapse.sh. (There is a separate question about whether the jenkins builds should be using tox to prepare the virtualenv at all here, but that is somewhat orthogonal).
16 lines
201 B
Bash
Executable file
16 lines
201 B
Bash
Executable file
#! /bin/bash
|
|
|
|
set -eux
|
|
|
|
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
|