08d31d4fc7
If we ignore it, it’s just noise. We need to decide: - fix the code to be like yapf wants to be (I’m against this) - change the rules, to make them way more flexible, and then apply them - don’t run yapf at all
88 lines
1.9 KiB
YAML
88 lines
1.9 KiB
YAML
stages:
|
|
- test
|
|
- build
|
|
|
|
build-doc:
|
|
stage: build
|
|
only:
|
|
- branches@poezio/poezio
|
|
tags:
|
|
- www
|
|
image: docker.louiz.org/poezio/poezio/doc-builder
|
|
script:
|
|
- ./update.sh
|
|
- . ./poezio-venv/bin/activate
|
|
- make doc
|
|
- rm -rf /www/latest
|
|
- mv doc/build/html/ /www/latest
|
|
|
|
build-ubuntu:
|
|
stage: build
|
|
image: python:3
|
|
script:
|
|
- python3 setup.py sdist
|
|
- python3 setup.py bdist
|
|
artifacts:
|
|
expire_in: 2 weeks
|
|
paths:
|
|
- dist/
|
|
only:
|
|
- master
|
|
|
|
security-check:
|
|
stage: test
|
|
image: python:3
|
|
script:
|
|
- pip3 install safety
|
|
- safety check -r requirements.txt
|
|
|
|
pytest-3.5:
|
|
stage: test
|
|
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/
|
|
|
|
pytest-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/
|
|
|
|
pytest-latest:
|
|
stage: test
|
|
image: python:3
|
|
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-plugins:
|
|
stage: test
|
|
image: python:3
|
|
allow_failure: true
|
|
script:
|
|
- apt-get update && apt-get install -y libidn11-dev
|
|
- pip3 install pylint pyasn1-modules cffi --upgrade
|
|
- pip3 install -e git+git://git.louiz.org/slixmpp#egg=slixmpp
|
|
- pip3 install -r requirements-plugins.txt
|
|
- python3 setup.py install
|
|
- pylint -E plugins
|