Test other python versions
This commit is contained in:
parent
bb36177e4e
commit
62aefc5b89
1 changed files with 30 additions and 3 deletions
|
@ -35,9 +35,9 @@ 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
|
||||
|
@ -48,7 +48,33 @@ test-pytest:
|
|||
- python3 setup.py install
|
||||
- py.test -v test/
|
||||
|
||||
test-pylint:
|
||||
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
|
||||
- pip3 install pytest pyasn1-modules cffi --upgrade
|
||||
- cd slixmpp
|
||||
- python3 setup.py install
|
||||
- cd ..
|
||||
- python3 setup.py install
|
||||
- py.test -v test/
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue