2018-11-03 16:32:41 +01:00
|
|
|
before_script:
|
2018-11-04 15:20:55 +01:00
|
|
|
- pipenv install --sequential -d
|
|
|
|
# --sequential hält die last auf raspberry pi unten
|
2018-11-03 16:59:49 +01:00
|
|
|
style:
|
2018-11-03 16:32:41 +01:00
|
|
|
stage: test
|
|
|
|
script:
|
|
|
|
- pipenv run flake8
|
2018-11-03 16:59:49 +01:00
|
|
|
complexity:
|
2018-11-03 16:32:41 +01:00
|
|
|
stage: test
|
|
|
|
script:
|
2018-11-03 16:59:49 +01:00
|
|
|
- pipenv run radon cc .
|
|
|
|
- pipenv run xenon -bB -mA -aA .
|
2018-11-04 15:20:55 +01:00
|
|
|
doc:
|
|
|
|
stage: deploy
|
|
|
|
script:
|
|
|
|
- cd doc
|
|
|
|
- pipenv run make html
|