mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 06:20:08 +01:00
Apply bootstrapit.sh
This commit is contained in:
parent
6416df7094
commit
d951483a83
26 changed files with 1260 additions and 80 deletions
33
.gitlab-ci.yml
Normal file
33
.gitlab-ci.yml
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
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/
|
||||
tags:
|
||||
- docker
|
||||
allow_failure: false
|
||||
|
||||
|
||||
pages:
|
||||
stage: build
|
||||
script:
|
||||
- mkdir -p public/cov
|
||||
- cp htmlcov/* public/cov/
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
tags:
|
||||
- docker
|
||||
only:
|
||||
- master
|
||||
Loading…
Add table
Add a link
Reference in a new issue