summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2018-07-23 19:43:01 +0200
committermathieui <mathieui@mathieui.net>2018-07-23 19:52:08 +0200
commit62aefc5b89a88611c1cee297cf3f8fc1ca136d72 (patch)
tree7797586854d450990d53f7c3054d2df6578319f2
parentbb36177e4e747ecaf6856d8fe495431e9df2289e (diff)
downloadpoezio-62aefc5b89a88611c1cee297cf3f8fc1ca136d72.tar.gz
poezio-62aefc5b89a88611c1cee297cf3f8fc1ca136d72.tar.bz2
poezio-62aefc5b89a88611c1cee297cf3f8fc1ca136d72.tar.xz
poezio-62aefc5b89a88611c1cee297cf3f8fc1ca136d72.zip
Test other python versions
-rw-r--r--.gitlab-ci.yml33
1 files changed, 30 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 543a7e3f..d0f57666 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
@@ -48,7 +74,7 @@ test-pytest:
- python3 setup.py install
- py.test -v test/
-test-pylint:
+pylint-latest:
stage: test
image: python:3
script:
@@ -64,6 +90,7 @@ test-pylint:
formatting-check:
stage: test
image: python:3
+ allow_failure: true
script:
- pip3 install yapf
- yapf -dpr poezio