Skip to content

Commit

Permalink
[qa] Post build failure summary (#101)
Browse files Browse the repository at this point in the history
Added travis buddy to comment in case of failure.
  • Loading branch information
devkapilbansal committed Sep 3, 2020
1 parent f720e4c commit ee3d3ee
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 @@ -5,6 +5,11 @@ python:
- "3.7"
- "3.6"

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

addons:
apt:
packages:
Expand All @@ -30,10 +35,9 @@ install:
- pip install $DJANGO
- python setup.py -q develop

before_script:
- ./run-qa-checks

script:
# check is done here to allow travis buddy to include a detailed failure summary
- ./run-qa-checks
- coverage run --source=django_x509 runtests.py
# SAMPLE tests do not influence coverage, so we can speed up tests with --parallel
- SAMPLE_APP=1 ./runtests.py --parallel --keepdb
Expand Down

0 comments on commit ee3d3ee

Please sign in to comment.