Add .gitlab-ci.yml
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
266684b036
commit
a478dc59de
1 changed files with 43 additions and 0 deletions
43
.gitlab-ci.yml
Normal file
43
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,43 @@
|
|||
stages:
|
||||
- lint
|
||||
|
||||
.python-3.7:
|
||||
image: python:3.7
|
||||
|
||||
.python-3.8:
|
||||
image: python:3.8
|
||||
|
||||
.pylint:
|
||||
stage: lint
|
||||
script:
|
||||
- apt update && apt install -y libidn11-dev build-essential cmake
|
||||
- pip3 install pylint pyasn1-modules cffi --upgrade
|
||||
- pip3 install -e git+https://lab.louiz.org/poezio/slixmpp.git#egg=slixmpp
|
||||
- python3 setup.py install
|
||||
- pylint -E slixmpp_omemo
|
||||
|
||||
.mypy:
|
||||
stage: lint
|
||||
script:
|
||||
- pip3 install mypy
|
||||
- mypyc --ignore-missing-imports ./slixmpp_omemo
|
||||
|
||||
lint-3.7-pylint:
|
||||
extends:
|
||||
- .python-3.7
|
||||
- .pylint
|
||||
|
||||
lint-3.8-pylint:
|
||||
extends:
|
||||
- .python-3.8
|
||||
- .pylint
|
||||
|
||||
lint-3.7-mypy:
|
||||
extends:
|
||||
- .python-3.7
|
||||
- .mypy
|
||||
|
||||
lint-3.8-mypy:
|
||||
extends:
|
||||
- .python-3.8
|
||||
- .mypy
|
Loading…
Reference in a new issue