Commit c08bb3d5 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Update gitlab-ci.yml

parent 8fffacf1
Pipeline #8493 passed with stages
in 36 seconds
before_script:
- sudo apt-get update -qq && sudo apt-get build-dep -y -qq python3-nbxmpp-nightly
image: ci-gajim:1.3
stages:
- test
......@@ -8,19 +7,10 @@ stages:
run-test:
stage: test
script:
- rm -rf civenv-nbxmpp
- virtualenv -p python3 --system-site-packages civenv-nbxmpp
- . ./civenv-nbxmpp/bin/activate
- pip3 install -I pylint==2.4.4
- pip3 install -I coverage
- pip3 install -I idna
- pip3 install -I precis-i18n
- python3 -m pylint nbxmpp --disable=C0103,C0201,C0301,C0326,C0330,W0201,W0212,W0221,W0231,W0233,W0621,W0622,R0201,E1101,E1135
- coverage run --source=nbxmpp -m unittest discover -v
- coverage report -mi
- coverage xml -i
- deactivate
- rm -rf civenv-nbxmpp
coverage: "/TOTAL.+ ([0-9]{1,3}%)/"
artifacts:
reports:
......@@ -45,7 +35,6 @@ run-test:
run-build:
stage: build
script:
- rm -rf dist
- python3 setup.py sdist
artifacts:
......
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