diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..040804f --- /dev/null +++ b/.gitlab-ci.yml @@ -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