From ee3d3ee30ecd4a75ad6b06fba2e40e005f6759dd Mon Sep 17 00:00:00 2001 From: Kapil Bansal Date: Thu, 3 Sep 2020 05:36:55 +0530 Subject: [PATCH] [qa] Post build failure summary (#101) Added travis buddy to comment in case of failure. --- .travis.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 86172cb..b37c1fe 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: @@ -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