Fixed kivy buildbot
This commit is contained in:
parent
3a316d99cc
commit
09c2f2b694
|
@ -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 wget -O /usr/local/bin/travis2bash.sh https://git.bitmessage.org/Bitmessage/buildbot-scripts/raw/branch/master/travis2bash.sh
|
RUN pip3 install Cython Pillow pyzbar telenium
|
||||||
|
|
||||||
RUN chmod a+rx "/usr/local/bin/travis2bash.sh"
|
RUN pip3 install --upgrade setuptools pip
|
||||||
|
|
||||||
|
RUN pip3 install -e git+https://github.com/kivymd/KivyMD#egg=kivymd
|
||||||
|
|
3
.buildbot/kivy/build.sh
Executable file
3
.buildbot/kivy/build.sh
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
python setup.py install --user
|
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
travis2bash.sh .travis-kivy.yml
|
xvfb-run python3 tests-kivy.py
|
||||||
|
|
Reference in New Issue
Block a user