10 changed files with 20 additions and 46 deletions
@ -1,17 +0,0 @@
|
||||
arch: amd64 |
||||
environment: |
||||
PROJECT_NAME: 'harmony' |
||||
CGO_ENABLED: '1' |
||||
GO111MODULE: 'on' |
||||
image: freebsd/latest |
||||
packages: |
||||
- go |
||||
sources: |
||||
- https://git.sr.ht/~tslocum/harmony |
||||
tasks: |
||||
- test: | |
||||
cd $PROJECT_NAME |
||||
go test ./... |
||||
- build-server: | |
||||
cd $PROJECT_NAME/cmd/harmony-server |
||||
go build |
@ -1,17 +0,0 @@
|
||||
arch: x86_64 |
||||
environment: |
||||
PROJECT_NAME: 'harmony' |
||||
CGO_ENABLED: '1' |
||||
GO111MODULE: 'on' |
||||
image: alpine/edge |
||||
packages: |
||||
- go |
||||
sources: |
||||
- https://git.sr.ht/~tslocum/harmony |
||||
tasks: |
||||
- test: | |
||||
cd $PROJECT_NAME |
||||
go test ./... |
||||
- build-server: | |
||||
cd $PROJECT_NAME/cmd/harmony-server |
||||
go build |
@ -0,0 +1,8 @@
|
||||
stages: |
||||
- test |
||||
|
||||
test: |
||||
image: golang:latest |
||||
stage: test |
||||
script: |
||||
- go test -v ./... |
Loading…
Reference in new issue