-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Make sure web hook gets called #5249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make sure web hook gets called #5249
Conversation
daxian-dbw
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this arrangement. It's cleaner. I left one comment.
tools/travis.ps1
Outdated
| $result = 'FAIL' | ||
| } | ||
|
|
||
| if ((-not $isPr) -and $cronBuild) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is -not $isPr necessary? $cronBuild is true only if $env:TRAVIS_EVENT_TYPE -eq 'cron'.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
resolved.
adityapatwardhan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM other than Dongbo's comment
if something goes wrong during the build, we might exit and not update the badge or fire the webhook.
Enable the
after_successandafter_failurestages of the travis-ci build so we can have a better chance of getting these done.