Fixed kivy buildbot

This commit is contained in:
shekhar-cis 2022-04-11 10:59:35 +05:30
parent 3a316d99cc
commit 09c2f2b694
Signed by untrusted user: shekhar-cis
GPG Key ID: F4F00AB04E83F9A7
3 changed files with 14 additions and 7 deletions

View File

@ -2,19 +2,23 @@
FROM ubuntu:bionic AS kivy FROM ubuntu:bionic AS kivy
# FROM ubuntu:20.04 AS buildbot-bionic # FROM ubuntu:20.04 AS buildbot-bionic
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update RUN apt-get update
RUN apt-get -y install sudo RUN apt-get -y install sudo
RUN apt-get install -yq python-setuptools \ RUN apt-get install -yq python-setuptools \
python-setuptools libssl-dev libpq-dev python-prctl python-dev \ python-setuptools libssl-dev libpq-dev python-prctl python-dev \
python-dev python-virtualenv python-pip virtualenv \ python-virtualenv python-pip virtualenv \
libssl-dev \ libjpeg-dev zlib1g-dev python3-dev \
python-dev \
python3-virtualenv \ python3-virtualenv \
python3-pip \ python3-pip \
wget wget \
build-essential libcap-dev libmtdev-dev xvfb xclip git python3-opencv
RUN pip3 install Cython Pillow pyzbar telenium
RUN wget -O /usr/local/bin/travis2bash.sh https://git.bitmessage.org/Bitmessage/buildbot-scripts/raw/branch/master/travis2bash.sh RUN pip3 install --upgrade setuptools pip
RUN chmod a+rx "/usr/local/bin/travis2bash.sh" RUN pip3 install -e git+https://github.com/kivymd/KivyMD#egg=kivymd

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

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

View File

@ -1,3 +1,3 @@
#!/bin/bash #!/bin/bash
travis2bash.sh .travis-kivy.yml xvfb-run python3 tests-kivy.py