Last change
on this file since 660 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 | |
---|
1 | image: alpine/latest
|
---|
2 | packages:
|
---|
3 | - go
|
---|
4 | - scdoc
|
---|
5 | - postgresql
|
---|
6 | sources:
|
---|
7 | - https://git.sr.ht/~emersion/soju
|
---|
8 | tasks:
|
---|
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.