fedilogue/.gitlab-ci.yml

26 lines
350 B
YAML

image: golang:latest
build:
stage: build
script:
- cd fedilogue
- go get .
- go build ./fedilogue
only:
- main
test:
stage: test
script:
- cd fedilogue
- go get .
- go test -v
- cd ../fedictl
- go get .
- go test -v
- cd ../restapi
- go get .
- go test -v
only:
- merge_requests