fedilogue/.gitlab-ci.yml
2021-12-09 21:20:04 +00:00

36 lines
533 B
YAML

image: golang:latest
build:
stage: build
script:
- cd fedilogue
- go get .
- go build
- cd ../fedictl
- go build
- cd ../restapi
- go build
only:
- main
artifacts:
name: "$CI_JOB_NAME"
paths:
- fedilogue/fedilogue
- fedictl/fedictl
- restapi/restapi
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