aboutsummaryrefslogtreecommitdiffstats
path: root/.build.yml
blob: ccdba91c01a05b3dac4d2fd248108df2f8c04088 (plain) (blame)
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
34
35
36
image: alpine/edge
packages:
  - go
  - docker
  - docker-compose
sources:
  - https://git.sr.ht/~eugenetriguba/bolt
environment:
  GO111MODULE: on
tasks:
  - setup: |
      cd bolt
      chmod +x scripts/*.sh
      go version
      sudo rc-service docker start
      sudo rc-update add docker default

  - test-sqlite3: |
      cd bolt
      ./scripts/test-sqlite3.sh

  - test-postgresql: |
      cd bolt
      ./scripts/test-postgresql.sh

  - test-mysql: |
      cd bolt
      ./scripts/test-mysql.sh

  - test-mssql: |
      cd bolt
      ./scripts/test-mssql.sh

  - combine-coverage: |
      cd bolt
      ./scripts/combine-coverage.sh