aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
blob: a375bb4022258f48d90ef9490318850d282ce0a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
image: alpine/3.10
packages:
  - python3=~3.7
  - py3-pip
  - 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