Deploying a test web app for each GitHub pull request
<p>Is it possible for GitHub to trigger a new test deployment when a pull request is submitted? I'd like for it to create a new folder on the server (Azure preferred) so that a test URL (e.g. <a href="http://testserver.com/PR602/" rel="nofollow">http://testserver.com/PR602/</a>) is generated that we can refer to in the pull request.</p>

<p>This would allow anyone to test a pull request without having to clone the repo, check out the branch, and build it locally.</p>

<p>In my initial research I found that Travis CI can <a href="https://docs.travis-ci.com/user/deployment/azure-web-apps#Branch-to-deploy-from" rel="nofollow">deploy all branches</a>, but I'm not clear how this would be triggered. Do I have to write a custom app that's triggered by <a href="https://developer.github.com/v3/activity/events/types/#pullrequestevent" rel="nofollow">pull request web hooks</a>? I'm hoping someone has discovered a simpler method.</p>