logging/.gitlab-ci.yml

21 lines
338 B
YAML

# This file is a template, and might need editing before it works on your project.
image: golang:latest
stages:
- test
#- build
- deploy
test:
stage: test
script:
- go test -race
pages:
stage: deploy
script:
- mkdir public
- echo "<body>go/log page</body>" >public/index.html
artifacts:
paths:
- public