Skip to content

Commit

Permalink
[qa] Post build failure summary
Browse files Browse the repository at this point in the history
Added travis buddy in notifications webhooks.
Will give a summary in case of failure.
  • Loading branch information
devkapilbansal authored Sep 2, 2020
1 parent 6a64f91 commit fd30ace
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ python:
- "3.6"
- "3.7"

notifications:
# will post a summary as comment on github in case of failure
webhooks: https://www.travisbuddy.com/
on_success: never

env:
- DJANGO="django>=2.2,<3.0"
- DJANGO="django>=3.0,<3.1"
Expand Down Expand Up @@ -34,10 +39,9 @@ before_install:
install:
- python setup.py -q develop

before-script:
- ./run-qa-checks

script:
# check is done here to allow travisbuddy to include a detailed failure summary
- ./run-qa-checks
- SAMPLE_APP=1 coverage run --source=openwisp_notifications runtests.py
- coverage run -a --source=openwisp_notifications runtests.py

Expand Down

0 comments on commit fd30ace

Please sign in to comment.