From 066557741bc0b3c033b8c2488bcbb6c944e6168d Mon Sep 17 00:00:00 2001 From: Lee Miller Date: Mon, 25 Apr 2022 02:33:55 +0300 Subject: [PATCH] Add minimal buildbot testing scenario --- .buildbot/ubuntu/Dockerfile | 9 +++++++++ .buildbot/ubuntu/test.sh | 4 ++++ 2 files changed, 13 insertions(+) create mode 100644 .buildbot/ubuntu/Dockerfile create mode 100755 .buildbot/ubuntu/test.sh diff --git a/.buildbot/ubuntu/Dockerfile b/.buildbot/ubuntu/Dockerfile new file mode 100644 index 0000000..c6dd2ec --- /dev/null +++ b/.buildbot/ubuntu/Dockerfile @@ -0,0 +1,9 @@ +FROM ubuntu:bionic AS bionic + +RUN apt-get update + +RUN apt-get install -yq --no-install-suggests --no-install-recommends \ + python3-dev python3-pip python3.8 python3.8-dev python3.8-venv + +RUN python3.8 -m pip install setuptools wheel +RUN python3.8 -m pip install --upgrade pip tox virtualenv diff --git a/.buildbot/ubuntu/test.sh b/.buildbot/ubuntu/test.sh new file mode 100755 index 0000000..b280953 --- /dev/null +++ b/.buildbot/ubuntu/test.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +tox -e lint-basic || exit 1 +tox