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