Unverified Commit 481d0b87 authored by mathieui's avatar mathieui

Fix docker CI

Remove our custom images
parent d80ae218
......@@ -4,19 +4,20 @@ stages:
build-doc:
stage: build
image: poezio/build-base:latest
image: python:3
script:
- apt-get install -y make
- pip3 install sphinx
- make doc
artifacts:
expire_in: 2 weeks
paths:
- doc/build/html
only:
- master
build-ubuntu:
stage: build
image: poezio/build-base:latest
image: python:3
script:
- python3 setup.py sdist
- python3 setup.py bdist
......@@ -24,6 +25,8 @@ build-ubuntu:
expire_in: 2 weeks
paths:
- dist/
only:
- master
security-check:
stage: test
......@@ -32,24 +35,35 @@ security-check:
- pip3 install safety
- safety check -r requirements.txt
test-ubuntu:
test-pytest:
stage: test
image: poezio/test-base:latest
image: python:3
script:
- apt-get update && apt-get install -y libidn11-dev
- git clone git://git.louiz.org/slixmpp
- pip3 install --upgrade pip
- pip3 install pytest pyasn1-modules --upgrade
- pushd slixmpp
- python3 setup.py build
- pip3 install pytest pyasn1-modules cffi --upgrade
- cd slixmpp
- python3 setup.py install
- popd
- cd ..
- python3 setup.py install
- py.test -v test/
test-pylint:
stage: test
image: python:3
script:
- apt-get update && apt-get install -y libidn11-dev
- git clone git://git.louiz.org/slixmpp
- pip3 install pylint pyasn1-modules cffi --upgrade
- cd slixmpp
- python3 setup.py install
- cd ..
- python3 setup.py install
- pylint -E poezio
formatting-check:
stage: test
image: poezio/test-base:latest
image: python:3
script:
- pip3 install yapf
- yapf -dpr poezio
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment