Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
poezio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Pierre-Samuel Le Stang
poezio
Commits
481d0b87
Unverified
Commit
481d0b87
authored
Jul 21, 2018
by
mathieui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix docker CI
Remove our custom images
parent
d80ae218
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
11 deletions
+25
-11
.gitlab-ci.yml
.gitlab-ci.yml
+25
-11
No files found.
.gitlab-ci.yml
View file @
481d0b87
...
...
@@ -4,19 +4,20 @@ stages:
build-doc
:
stage
:
build
image
:
p
oezio/build-base:latest
image
:
p
ython: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
:
p
oezio/build-base:latest
image
:
p
ython: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
:
p
oezio/test-base:latest
image
:
p
ython: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
:
p
oezio/test-base:latest
image
:
p
ython:3
script
:
-
pip3 install yapf
-
yapf -dpr poezio
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment