From cd6dba62726f9fee9e1829a13a3fd9b34f734650 Mon Sep 17 00:00:00 2001 From: mathieui Date: Mon, 23 Jul 2018 19:43:01 +0200 Subject: Test other python versions --- .gitlab-ci.yml | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 543a7e3f..605051a2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -35,9 +35,35 @@ security-check: - pip3 install safety - safety check -r requirements.txt -test-pytest: +pytest-3.5: stage: test - image: python:3 + image: python:3.5 + script: + - apt-get update && apt-get install -y libidn11-dev + - git clone git://git.louiz.org/slixmpp + - pip3 install pytest pyasn1-modules cffi --upgrade + - cd slixmpp + - python3 setup.py install + - cd .. + - python3 setup.py install + - py.test -v test/ + +pyest-3.6: + stage: test + image: python:3.6 + script: + - apt-get update && apt-get install -y libidn11-dev + - git clone git://git.louiz.org/slixmpp + - pip3 install pytest pyasn1-modules cffi --upgrade + - cd slixmpp + - python3 setup.py install + - cd .. + - python3 setup.py install + - py.test -v test/ + +pyest-latest: + stage: test + image: python:3.6 script: - apt-get update && apt-get install -y libidn11-dev - git clone git://git.louiz.org/slixmpp @@ -64,6 +90,7 @@ test-pylint: formatting-check: stage: test image: python:3 + allow_failure: true script: - pip3 install yapf - yapf -dpr poezio -- cgit v1.2.3