Add tox buildbot testing scenario

This commit is contained in:
Lee Miller 2022-04-22 18:00:08 +03:00
parent 271d7fe6ad
commit 0937e957bd
Signed by untrusted user: lee.miller
GPG Key ID: 4F97A5EA88F4AB63
2 changed files with 21 additions and 0 deletions

18
.buildbot/tox/Dockerfile Normal file
View File

@ -0,0 +1,18 @@
FROM ubuntu:bionic AS tox
RUN apt-get update
# Common apt packages
RUN apt-get install -yq --no-install-suggests --no-install-recommends \
software-properties-common build-essential libcap-dev libssl-dev \
python-all-dev python-setuptools wget xvfb language-pack-en \
libffi-dev python3-dev python3-pip python3.8 python3.8-dev python3.8-venv \
python-msgpack python-pip python-qt4 python-six qtbase5-dev qt5-default \
tor
RUN python3.8 -m pip install setuptools wheel
RUN python3.8 -m pip install --upgrade pip tox virtualenv
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8

3
.buildbot/tox/test.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
tox