Philipp Hörist pushed to branch nbxmpp_2.0 at gajim / python-nbxmpp
Commits:
-
c3628d33
by lovetox at 2022-05-09T21:27:51+02:00
1 changed file:
Changes:
| 1 | -image: ci-gajim:1.3
|
|
| 2 | - |
|
| 3 | -stages:
|
|
| 4 | - - test
|
|
| 5 | - - build
|
|
| 6 | - |
|
| 7 | -run-test:
|
|
| 8 | - stage: test
|
|
| 9 | - script:
|
|
| 10 | - - python3 -m pylint nbxmpp --disable=C0103,C0201,C0301,C0326,C0330,W0201,W0212,W0221,W0231,W0233,W0621,W0622,R0201,E1101,E1135
|
|
| 11 | - - coverage run --source=nbxmpp -m unittest discover -v
|
|
| 12 | - - coverage report -mi
|
|
| 13 | - - coverage xml -i
|
|
| 14 | - coverage: "/TOTAL.+ ([0-9]{1,3}%)/"
|
|
| 15 | - artifacts:
|
|
| 16 | - reports:
|
|
| 17 | - cobertura: coverage.xml
|
|
| 18 | - |
|
| 19 | -# C0103 invalid-name
|
|
| 20 | -# C0201 consider-iterating-dictionary
|
|
| 21 | -# C0301 line-too-long
|
|
| 22 | -# C0326 bad-whitespace
|
|
| 23 | -# C0330 bad-continuation
|
|
| 24 | -# W0201 attribute-defined-outside-init
|
|
| 25 | -# W0212 protected-access
|
|
| 26 | -# W0221 arguments-differ
|
|
| 27 | -# W0231 super-init-not-called
|
|
| 28 | -# W0233 non-parent-init-called
|
|
| 29 | -# W0621 redefined-outer-name
|
|
| 30 | -# W0622 redefined-builtin
|
|
| 31 | -# R0201 no-self-use
|
|
| 32 | -# E1101 no-member
|
|
| 33 | -# E1135 unsupported-membership-test
|
|
| 34 | - |
|
| 35 | -run-build:
|
|
| 36 | - stage: build
|
|
| 37 | - script:
|
|
| 38 | - - python3 setup.py sdist
|
|
| 39 | - |
|
| 40 | - artifacts:
|
|
| 41 | - name: "nbxmpp-$CI_COMMIT_SHA"
|
|
| 42 | - expire_in: 1 week
|
|
| 43 | - paths:
|
|
| 44 | - - dist/nbxmpp-*.tar.gz |