Commit 676f1f84 authored by Thomas Karl Pietrowski's avatar Thomas Karl Pietrowski
Browse files

CI: Adding codestyle check

Signed-off-by: Thomas Karl Pietrowski <thopiekar@gmail.com> (github: thopiekar)
parent 6abcfebf
Pipeline #725 failed with stages
in 23 seconds
stages:
- verify
- build
variables:
GIT_SUBMODULE_STRATEGY: recursive
PYCODESTYLE_ARGS: --max-line-length=120 --exclude=./*/CadIntegrationUtils/3rd-party/*
all:
codestyle-pep8:
stage: verify
tags:
- os:ubuntu
- package:pycodestyle
- type:shell
script:
- pycodestyle --show-source --show-pep8 ${PYCODESTYLE_ARGS} . || pycodestyle --statistics ${PYCODESTYLE_ARGS} -q .
only:
- triggers
- branches
- tags
package:
stage: build
tags:
- os:ubuntu,
- os:ubuntu
- package:python3
- type:shell
script:
- curl https://git.thopiekar.eu/Cura/plugins/CuraPluginOven/raw/deployment/cpo.py?inline=false --output cpo.py
- python3 ./cpo.py --create=package610 --source=./
- python3 ./cpo.py --create=package600 --source=./
- python3 ./cpo.py --create=package5 --source=./
- python3 ./cpo.py --create=package4 --source=./
- python3 ./cpo.py --create=plugin4 --source=./
- python3 ./cpo.py --create=source --source=./
only:
- triggers
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment