bumpver/.gitlab-ci.yml
2018-11-27 14:05:27 +00:00

29 lines
411 B
YAML

stages:
- test
- build
unit:
stage: test
image: registry.gitlab.com/mbarkhau/pycalver/base:latest
script:
- make lint
- make mypy
- make test
coverage: '/TOTAL.*?(\d+\%)/'
artifacts:
paths:
- htmlcov/
allow_failure: false
pages:
stage: build
script:
- mkdir -p public/cov
- cp htmlcov/* public/cov/
artifacts:
paths:
- public
only:
- master