diff options
author | lovetox <philipp@hoerist.com> | 2020-03-11 21:51:36 +0300 |
---|---|---|
committer | lovetox <philipp@hoerist.com> | 2020-03-11 21:51:36 +0300 |
commit | 6b2cefebc8b325e00d1861be1260f270ddc8bb8c (patch) | |
tree | 5bcbf5566a76ae3cd12775288cec176804b1fb7e /.gitlab-ci.yml | |
parent | d387550533d0ad997bc5e688a3aac13786847e7b (diff) |
CI: Add pylint test
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d8aacc5..be62440 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,6 +9,13 @@ run-test: stage: test script: - python3 -m unittest discover -v + - rm -rf civenv-nbxmpp + - virtualenv -p python3 --system-site-packages civenv-nbxmpp + - . ./civenv-nbxmpp/bin/activate + - pip3 install -I pylint==2.4.4 + - python3 -m pylint nbxmpp --disable=C0103,C0201,C0301,C0325,C0326,C0330,W0201,W0212,W0221,W0231,W0233,W0401,W0601,W0614,W0621,W0622,W1201,R0201,E1101,E1135 + - deactivate + - rm -rf civenv-nbxmpp run-build: stage: build |