python3-carom-client/.gitlab-ci.yml
Alexander Werner 228043c0e0 fixed pex build
2018-11-05 00:50:08 +01:00

38 lines
593 B
YAML

stages:
- test
- build
- deploy
before_script:
- pipenv install --sequential -d
# --sequential hält die last auf raspberry pi unten
style:
stage: test
script:
- pipenv run flake8
complexity:
stage: test
script:
- pipenv run radon cc .
- pipenv run xenon -bB -mA -aA .
doc:
stage: build
script:
- cd doc
- pipenv run make html
- pipenv run make man
artifacts:
paths:
- doc/man/*
pex:
stage: build
script:
- pipenv run pex . -r <(pipenv lock -r) -e carom.cli:cli -o dist/carom-client
artifacts:
paths:
- dist/*