microblog.pub/.build.yml

23 lines
430 B
YAML
Raw Normal View History

2022-07-01 17:26:41 +00:00
image: alpine/edge
2022-07-01 16:46:20 +00:00
sources:
- https://git.sr.ht/~tsileo/microblog.pub
packages:
2022-07-01 17:26:41 +00:00
- python3
2022-07-01 16:46:20 +00:00
- python3-dev
2022-07-01 17:26:41 +00:00
- libxml2-dev
- libxslt-dev
- gcc
- jpeg-dev
- zlib-dev
- build-base
- libffi-dev
2022-07-01 16:46:20 +00:00
tasks:
2022-07-01 17:26:41 +00:00
- setup: |
curl -sSL https://install.python-poetry.org | python3 -
- tests: |
export PATH="/home/build/.local/bin:$PATH"
2022-07-01 16:46:20 +00:00
cd microblog.pub
poetry install --no-interaction
poetry run inv lint
poetry run inv tests