Skip to content

Commit

Permalink
[qa] Added post build failure summary
Browse files Browse the repository at this point in the history
Included travisbuddy to comment summary on github.
  • Loading branch information
devkapilbansal committed Sep 1, 2020
1 parent 8cc345a commit c746136
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,17 @@ dist: focal
language: python
cache: pip

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

addons:
postgresql: "12"
apt:
packages:
- postgresql-12-postgis-3

services:
- postgresql

Expand Down Expand Up @@ -40,8 +46,9 @@ install:
before_script:
- createdb django_restframework_gis
- psql -U postgres -d django_restframework_gis -c "CREATE EXTENSION postgis;"
- ./run-qa-checks

script:
# check is done here to allow travisbuddy to include summary in case of failure
- ./run-qa-checks
- tox -e travis
- python setup.py check -r -s

0 comments on commit c746136

Please sign in to comment.