aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
blob: 08c9eead53d775d0c41f103287dccd5c404322fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
image: alpine/3.10
packages:
  - python3=~3.7
  - py3-pip
  - libffi-dev
  - openssl-dev
  - gcc
  - python3-dev
  - musl-dev
sources:
  - https://git.sr.ht/~boringcactus/crowbar-reference-compiler
tasks:
  - setup: |
      python3 -m 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