add notify task and some cleanups

This commit is contained in:
Robert Kaussow 2019-01-28 23:01:34 +01:00
parent 546866eb3a
commit e36078262f
3 changed files with 21 additions and 6 deletions

View File

@ -144,3 +144,23 @@ steps:
- test3.5
- test3.6
- test3.7
- name: notify
image: plugins/matrix
settings:
homeserver: https://matrix.rknet.org
roomid: MtidqQXWWAtQcByBhH:rknet.org
template: "Status: **{{ build.status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}<br/> Message: {{ build.message }}"
username:
from_secret: matrix_username
password:
from_secret: matrix_password
depends_on:
- test2.7
- test3.5
- test3.6
- test3.7
when:
status:
- success
- failure

View File

@ -1,5 +0,0 @@
flake8
pep8-naming
wheel
flake8-colors
pytest

View File

@ -30,7 +30,7 @@ commands = flake8 ansiblelater
usedevelop = True
[flake8]
ignore = E501, W503, F401
ignore = E501, W503, F401, N813
exclude =
.tox,
.git,