bumpver/.gitlab-ci.yml
2019-01-07 15:03:27 +01:00

33 lines
519 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/
- mypycov/
allow_failure: false
pages:
stage: build
script:
- mkdir -p public/cov
- mkdir -p public/mypycov
- cp htmlcov/* public/cov/
- cp mypycov/* public/mypycov/
artifacts:
paths:
- public
only:
- master