pex build
This commit is contained in:
@@ -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/*
|
||||
Reference in New Issue
Block a user