Apply bootstrapit.sh

This commit is contained in:
Manuel Barkhau 2018-11-04 21:34:53 +01:00
parent 6416df7094
commit d951483a83
26 changed files with 1260 additions and 80 deletions

33
.gitlab-ci.yml Normal file
View 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