Adding gitlab CI configuration
This commit is contained in:
parent
b231629e37
commit
0dd228e1dd
19
.gitlab-ci.yml
Normal file
19
.gitlab-ci.yml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user