bumpver/.gitlab-ci.yml
2018-12-09 15:57:04 +01:00

30 lines
437 B
YAML

stages:
- test
- build
unit:
stage: test
image: registry.gitlab.com/mbarkhau/pycalver/base
script:
- make lint
- make mypy
- make test
- make test_compat
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