slixmpp-omemo/.gitlab-ci.yml
Maxime “pep” Buquet 61f87c1e10
CI: Remove Python 3.{7,8}
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-14 16:19:15 +01:00

49 lines
967 B
YAML

---
stages:
- lint
.python-3.9:
image: python:3.9
.python-3.10:
image: python:3.10
.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://github.com/syndace/python-omemo#egg=omemo
- pip3 install -e git+https://github.com/syndace/python-omemo-backend-signal#egg=omemo-backend-signal
- pip3 install -e git+https://lab.louiz.org/poezio/slixmpp.git#egg=slixmpp
- python3 setup.py install
- pylint -E slixmpp_omemo
allow_failure: true
.mypy:
stage: lint
script:
- pip3 install mypy
- mypyc --ignore-missing-imports ./slixmpp_omemo
allow_failure: true
lint-3.9-pylint:
extends:
- .python-3.9
- .pylint
lint-3.9-mypy:
extends:
- .python-3.9
- .mypy
lint-3.10-pylint:
extends:
- .python-3.10
- .pylint
lint-3.10-mypy:
extends:
- .python-3.10
- .mypy