add ci script
This commit is contained in:
parent
832402fea6
commit
90de6537de
27
.gitlab-ci.yml
Normal file
27
.gitlab-ci.yml
Normal file
@ -0,0 +1,27 @@
|
||||
stages:
|
||||
- check
|
||||
- deploy
|
||||
|
||||
build:
|
||||
stage: check
|
||||
image: registry.gitlab.com/wolutator/base-build-env:latest
|
||||
tags:
|
||||
- hottis
|
||||
- linux
|
||||
- docker
|
||||
script:
|
||||
- for I in *.py; do python -m py_compile $I; done
|
||||
- for I in *.py; do python -m pycodestyle --max-line-length=120 $I; done
|
||||
|
||||
deploy:
|
||||
stage: deploy
|
||||
tags:
|
||||
- hottis
|
||||
- linux
|
||||
- rpi
|
||||
- modbus
|
||||
only:
|
||||
- deploy
|
||||
script:
|
||||
- whoami
|
||||
|
Loading…
x
Reference in New Issue
Block a user