From 0937e957bda97daa7e79cdff2753c5592b78db8d Mon Sep 17 00:00:00 2001 From: Lee Miller Date: Fri, 22 Apr 2022 18:00:08 +0300 Subject: [PATCH] Add tox buildbot testing scenario --- .buildbot/tox/Dockerfile | 18 ++++++++++++++++++ .buildbot/tox/test.sh | 3 +++ 2 files changed, 21 insertions(+) create mode 100644 .buildbot/tox/Dockerfile create mode 100755 .buildbot/tox/test.sh diff --git a/.buildbot/tox/Dockerfile b/.buildbot/tox/Dockerfile new file mode 100644 index 00000000..931bc0f7 --- /dev/null +++ b/.buildbot/tox/Dockerfile @@ -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 diff --git a/.buildbot/tox/test.sh b/.buildbot/tox/test.sh new file mode 100755 index 00000000..f57f61e5 --- /dev/null +++ b/.buildbot/tox/test.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +tox