Skip to content

Commit a8b1d9a

Browse files
[qa] Post build failure summary
Added travis buddy to comment summary on github in case of failure
1 parent d5700c0 commit a8b1d9a

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

.travis.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ python:
66
- "3.6"
77
- "3.7"
88

9+
notifications:
10+
# will post a summary as comment on gihtub in case of failure
11+
webhooks: https://www.travisbuddy.com/
12+
on_success: never
13+
914
branches:
1015
only:
1116
- master
@@ -17,10 +22,9 @@ before_install:
1722
install:
1823
- python setup.py -q develop
1924

20-
before_script:
21-
- ./run-qa-checks
22-
2325
script:
26+
# check is done here to allow travis buddy to include a detailed failure summary
27+
- ./run-qa-checks
2428
- coverage run -a --source=netjsonconfig runtests.py
2529

2630
after_success:

0 commit comments

Comments
 (0)