2021-03-25 19:53:54 +03:00
|
|
|
#!/usr/bin/env bash
|
2022-01-22 01:23:26 +03:00
|
|
|
# this script is run by GitHub Actions in a plain `focal` container; it installs the
|
2021-04-08 18:41:35 +03:00
|
|
|
# minimal requirements for tox and hands over to the py3-old tox environment.
|
2020-02-10 03:41:20 +03:00
|
|
|
|
2022-01-22 01:23:26 +03:00
|
|
|
# Prevent tzdata from asking for user input
|
|
|
|
export DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
2020-02-10 03:41:20 +03:00
|
|
|
set -ex
|
|
|
|
|
|
|
|
apt-get update
|
2022-01-22 01:23:26 +03:00
|
|
|
apt-get install -y python3 python3-dev python3-pip libxml2-dev libxslt-dev xmlsec1 zlib1g-dev tox libjpeg-dev libwebp-dev
|
2020-02-10 03:41:20 +03:00
|
|
|
|
|
|
|
export LANG="C.UTF-8"
|
|
|
|
|
2021-01-25 22:22:35 +03:00
|
|
|
# Prevent virtualenv from auto-updating pip to an incompatible version
|
|
|
|
export VIRTUALENV_NO_DOWNLOAD=1
|
|
|
|
|
2022-02-02 18:59:33 +03:00
|
|
|
exec tox -e py3-old
|