source: code/trunk/.build.yml@ 652

Last change on this file since 652 was 643, checked in by contact, 4 years ago

ci: switch to alpine/latest

We don't need the bleeding edge.

File size: 526 bytes
Line 
1image: alpine/latest
2packages:
3 - go
4 - scdoc
5 - postgresql
6sources:
7 - https://git.sr.ht/~emersion/soju
8tasks:
9 - build: |
10 cd soju
11 go build -v ./...
12 scdoc <doc/soju.1.scd >/dev/null
13 - setup-postgresql: |
14 sudo /etc/init.d/postgresql start
15 sudo -u postgres -- createuser "$USER"
16 sudo -u postgres -- createdb soju
17 - test: |
18 cd soju
19 export SOJU_TEST_POSTGRES="host=/run/postgresql dbname=soju"
20 go test -v ./...
21 - gofmt: |
22 cd soju
23 test -z $(gofmt -l .)
Note: See TracBrowser for help on using the repository browser.