aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
blob: b5a987cd2ae7e2e6edef66630be8583c1eb23a98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
image: alpine/edge
packages:
  - python3
  - py3-pip
  - py3-cryptography
  - py3-cleo
  - py3-clikit
  - py3-requests
  - py3-cachy
  - py3-requests-toolbelt
  - py3-pkginfo
  - py3-html5lib
  - py3-shellingham
  - py3-tomlkit
  - py3-pexpect
  - py3-packaging
  - py3-virtualenv
  - gcc
  - python3-dev
  - musl-dev
sources:
  - https://git.sr.ht/~boringcactus/crowbar-reference-compiler
tasks:
  - setup: |
      pip install --progress-bar off --user poetry
      PATH=$HOME/.local/bin:$PATH
      cd crowbar-reference-compiler
      poetry install
  - test: |
      PATH=$HOME/.local/bin:$PATH
      cd crowbar-reference-compiler
      poetry run mypy -p crowbar_reference_compiler
      poetry run python -m unittest