pex build

This commit is contained in:
Alexander Werner
2018-11-05 00:27:59 +01:00
parent cfa56db32b
commit 330aff02d5
7 changed files with 48 additions and 3 deletions

View File

@@ -1,17 +1,38 @@
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: deploy
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 carom-client
artifacts:
paths:
- dist/*