Merge branch 'ci-pipeline' into 'master'

Adding gitlab CI configuration

See merge request khanzf/fedilogue!1
This commit is contained in:
Fikrān Mutasā'il 2021-08-10 03:55:53 +00:00
commit a3a01e7081

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