aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
blob: fbe048e15af07f70a73c3885b66e4d3d690facbf (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
image: alpine/edge
packages:
  - python3
  - py3-pip
  - py3-cryptography
  - py3-mypy
  - 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
  - py3-regex
sources:
  - https://git.sr.ht/~boringcactus/crowbar-reference-compiler
tasks:
  - setup: |
      pip install --progress-bar off --user poetry
      PATH=$HOME/.local/bin:$PATH
      poetry config virtualenvs.create false
      cd crowbar-reference-compiler
      poetry install
  - test: |
      cd crowbar-reference-compiler
      poetry run mypy -p crowbar_reference_compiler
      poetry run python -m unittest