pominal/.gitlab-ci.yml
Dan Anglin 4c38bfb828
ci: remove JUnit report
It serves no purpose for me. It only causes issues.
2020-01-19 23:18:30 +00:00

35 lines
517 B
YAML

---
stages:
- test
- deploy
variables:
CGO_ENABLED: 0
test:unit:
artifacts:
expire_in: 30 minutes
paths:
- code-coverage.html
before_script:
- apk add --no-cache make
image: golang:1.13.6-alpine
script:
- make test_cover_report
stage: test
pages:
artifacts:
paths:
- public
expire_in: 30 days
dependencies:
- test:unit
only:
- master@dananglin/Pominal
script:
- mkdir public
- mv code-coverage.html public
stage: deploy
variables:
GIT_STRATEGY: none