forked-synapse/.ci/scripts/test_old_deps.sh

17 lines
464 B
Bash
Raw Normal View History

#!/usr/bin/env bash
2021-08-10 05:59:13 -04:00
# this script is run by GitHub Actions in a plain `bionic` container; it installs the
2021-04-08 11:41:35 -04:00
# minimal requirements for tox and hands over to the py3-old tox environment.
set -ex
apt-get update
2021-04-08 11:41:35 -04:00
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
2021-04-08 11:41:35 -04:00
exec tox -e py3-old,combine