Skip to content

Make sure web hook gets called#5249

Merged
TravisEz13 merged 4 commits intoPowerShell:masterfrom
TravisEz13:makeSureWebHookGetsCalled
Oct 27, 2017
Merged

Make sure web hook gets called#5249
TravisEz13 merged 4 commits intoPowerShell:masterfrom
TravisEz13:makeSureWebHookGetsCalled

Conversation

@TravisEz13
Copy link
Copy Markdown
Member

if something goes wrong during the build, we might exit and not update the badge or fire the webhook.

Enable the after_success and after_failure stages of the travis-ci build so we can have a better chance of getting these done.

Copy link
Copy Markdown
Member

@daxian-dbw daxian-dbw left a 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) {
Copy link
Copy Markdown
Member

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'.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

resolved.

Copy link
Copy Markdown
Member

@adityapatwardhan adityapatwardhan left a 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants