logging/.gitlab-ci.yml

22 lines
338 B
YAML
Raw Normal View History

2019-11-05 15:17:34 +01:00
# 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:
2019-11-05 15:19:21 +01:00
- go test -race
2019-11-05 15:17:34 +01:00
pages:
stage: deploy
script:
- mkdir public
2019-11-05 15:26:57 +01:00
- echo "<body>go/log page</body>" >public/index.html
2019-11-05 15:17:34 +01:00
artifacts:
paths:
- public