Add test_bionic

This commit is contained in:
shekhar-cis 2022-04-28 16:50:31 +05:30
parent a67572d708
commit 6870dcb2c1
Signed by untrusted user: shekhar-cis
GPG Key ID: F4F00AB04E83F9A7
3 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,12 @@
FROM ubuntu:bionic AS test_bionic
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update -y && apt-get install -yq --no-install-suggests --no-install-recommends \
buildbot-slave git subversion python3-dev libffi-dev python3-setuptools \
python3-pip dumb-init curl openssh-client wget \
python-qt4 python-pyqt5 \
build-essential libcap-dev libmtdev-dev xvfb tor xclip python3-opencv
RUN pip3 install coverage psutil pycrypto \
xvfbwrapper python_prctl six

3
.buildbot/bionic/build.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
python setup.py install --user
export PYTHONWARNINGS=all

4
.buildbot/bionic/test.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
python checkdeps.py
python src/bitmessagemain.py -t
python -bm tests