Adding gitlab CI configuration

This commit is contained in:
Farhan Khan 2021-08-10 03:51:07 +00:00
parent b231629e37
commit 0dd228e1dd

19
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,19 @@
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
only:
- merge_requests