A basic git hook handler for creating tasks when git sends a hook request.
PM> Install-Package git-mish
Basicly run the build.cmd to build and run the tests.
if you are using asp.net application you simply write the following lines,
protected void Application_Start(object sender, EventArgs e)
{
GitHook.SetupForRepository("testing").BranchOf("master")
.Then<StandardBuildOperation>()
.Save(RouteTable.Routes, "Github/testing");
}
Thus hook starts to listen for a POST Http Request from github hook which is from a repository named "testing" and from its "master" branch. (branch support not working at the moment, but will be fixed asap)
So you may add a post-receive hook for "http://yourdomain.com/Github/testing". For more information about adding post-receive hooks from github see https://help.github.com/articles/post-receive-hooks