mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-26 08:39:27 -05:00
6127c4b9f1
As the comment says, virtualenv is a pile of fail.
21 lines
594 B
Bash
Executable File
21 lines
594 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# this script is run by GitHub Actions in a plain `focal` container; it installs the
|
|
# minimal requirements for tox and hands over to the py3-old tox environment.
|
|
|
|
# Prevent tzdata from asking for user input
|
|
export DEBIAN_FRONTEND=noninteractive
|
|
|
|
set -ex
|
|
|
|
apt-get update
|
|
apt-get install -y \
|
|
python3 python3-dev python3-pip python3-venv \
|
|
libxml2-dev libxslt-dev xmlsec1 zlib1g-dev tox libjpeg-dev libwebp-dev
|
|
|
|
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
|