summary refs log tree commit diff
path: root/.ci/scripts/test_old_deps.sh
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2021-08-12 13:05:23 +0100
committerGitHub <noreply@github.com>2021-08-12 13:05:23 +0100
commit4a76d01ff7e063354e4d1b9333891559ab72c1bf (patch)
tree0f5f2eeb808e9e0687d20489060a31bf00104da9 /.ci/scripts/test_old_deps.sh
parentUpdate the pagination parameter name based on MSC2946 review. (#10579) (diff)
parentRemove buildkite-era comment (diff)
downloadsynapse-4a76d01ff7e063354e4d1b9333891559ab72c1bf.tar.xz
Merge pull request #10573 from DMRobertson/dmr/goodbye-buildkite
Remove references to BuildKite in favour of GitHub Actions
Diffstat (limited to '.ci/scripts/test_old_deps.sh')
-rwxr-xr-x.ci/scripts/test_old_deps.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/.ci/scripts/test_old_deps.sh b/.ci/scripts/test_old_deps.sh
new file mode 100755
index 0000000000..8b473936f8
--- /dev/null
+++ b/.ci/scripts/test_old_deps.sh
@@ -0,0 +1,16 @@
+#!/usr/bin/env bash
+
+# this script is run by GitHub Actions in a plain `bionic` container; it installs the
+# minimal requirements for tox and hands over to the py3-old tox environment.
+
+set -ex
+
+apt-get update
+apt-get install -y python3 python3-dev python3-pip libxml2-dev libxslt-dev xmlsec1 zlib1g-dev tox
+
+export LANG="C.UTF-8"
+
+# Prevent virtualenv from auto-updating pip to an incompatible version
+export VIRTUALENV_NO_DOWNLOAD=1
+
+exec tox -e py3-old,combine