bumpver/.gitlab-ci.yml
2018-12-06 14:21:21 +01:00

29 lines
412 B
YAML

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