2021-03-25 17:53:54 +01:00
|
|
|
#!/usr/bin/env bash
|
2020-02-10 01:41:20 +01:00
|
|
|
|
2021-04-08 16:26:49 +02:00
|
|
|
# this script is run by buildkite in a plain `bionic` container; it installs the
|
2021-04-08 17:41:35 +02:00
|
|
|
# minimal requirements for tox and hands over to the py3-old tox environment.
|
2020-02-10 01:41:20 +01:00
|
|
|
|
|
|
|
set -ex
|
|
|
|
|
|
|
|
apt-get update
|
2021-04-08 17:41:35 +02:00
|
|
|
apt-get install -y python3 python3-dev python3-pip libxml2-dev libxslt-dev xmlsec1 zlib1g-dev tox
|
2020-02-10 01:41:20 +01:00
|
|
|
|
|
|
|
export LANG="C.UTF-8"
|
|
|
|
|
2021-01-25 20:22:35 +01:00
|
|
|
# Prevent virtualenv from auto-updating pip to an incompatible version
|
|
|
|
export VIRTUALENV_NO_DOWNLOAD=1
|
|
|
|
|
2021-04-08 17:41:35 +02:00
|
|
|
exec tox -e py3-old,combine
|