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

Last change on this file since 651 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
RevLine 
[643]1image: alpine/latest
[116]2packages:
3 - go
[332]4 - scdoc
[624]5 - postgresql
[116]6sources:
7 - https://git.sr.ht/~emersion/soju
8tasks:
9 - build: |
10 cd soju
[624]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"
[116]20 go test -v ./...
[624]21 - gofmt: |
22 cd soju
[574]23 test -z $(gofmt -l .)
Note: See TracBrowser for help on using the repository browser.