mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-25 02:55:46 +03:00
16 lines
464 B
Bash
Executable file
16 lines
464 B
Bash
Executable file
#!/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
|