1
0

test_old_deps.sh 594 B

1234567891011121314151617181920
  1. #!/usr/bin/env bash
  2. # this script is run by GitHub Actions in a plain `focal` container; it installs the
  3. # minimal requirements for tox and hands over to the py3-old tox environment.
  4. # Prevent tzdata from asking for user input
  5. export DEBIAN_FRONTEND=noninteractive
  6. set -ex
  7. apt-get update
  8. apt-get install -y \
  9. python3 python3-dev python3-pip python3-venv \
  10. libxml2-dev libxslt-dev xmlsec1 zlib1g-dev tox libjpeg-dev libwebp-dev
  11. export LANG="C.UTF-8"
  12. # Prevent virtualenv from auto-updating pip to an incompatible version
  13. export VIRTUALENV_NO_DOWNLOAD=1
  14. exec tox -e py3-old