summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml27
1 files changed, 25 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a908b86a..b502e1c8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -79,7 +79,21 @@ pytest-3.9:
pytest-3.10:
stage: test
- image: python:3.10-rc
+ image: python:3.10
+ script:
+ - apt-get update && apt-get install -y libidn11-dev
+ - git clone https://lab.louiz.org/poezio/slixmpp.git
+ - pip3 install pytest pyasn1-modules cffi --upgrade
+ - cd slixmpp
+ - python3 setup.py install
+ - cd ..
+ - python3 setup.py install
+ - py.test -v test/
+
+pytest-3.11:
+ stage: test
+ image: python:3.11-rc
+ allow_failure: true
script:
- apt-get update && apt-get install -y libidn11-dev
- git clone https://lab.louiz.org/poezio/slixmpp.git
@@ -102,10 +116,19 @@ pylint-plugins:
- python3 setup.py install
- pylint -E plugins
-mypy:
+mypy-fixed:
stage: lint
image: python:3
script:
+ - pip3 install mypy==0.961 types-setuptools
+ - mypy --ignore-missing-imports ./poezio
+ - mypy --ignore-missing-imports ./plugins
+
+mypy-latest:
+ stage: lint
+ image: python:3
+ allow_failure: true
+ script:
- pip3 install mypy types-setuptools
- mypy --ignore-missing-imports ./poezio
- mypy --ignore-missing-imports ./plugins