You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Include documentation on the creation of hooks in the ReadMe #295
Sorry if this is the wrong place - I have been trying to set up a Travis hook via the github api using this library but can not find any documentation on this in the readme, or anywhere else. If somebody knows how to do it, it would be a great addition to this repo's readme I think.
varoptions={"name" : "travis","config" : {"user" : "your-Username","token" : "00000000000000000000000000","domain" : "http://notify.travis-ci.org","content_type": "json"},"events" : ["push","pull_request"],"active" : true}//create the git-travis hooktry{fork.createHook(options,function(){console.log("A travis hook has been created which will trigger a build on push and pull request events...");});}catch(err){console.log(err);}
Activity
AurelioDeRosa commentedon Feb 26, 2016
You can start here but for sure this is something we should document.
clayreimann commentedon May 17, 2016
Should add https://tonicdev.com/clayreimann/5722a004b9583b1100c8adf3 to the documentation
Jack-Collins commentedon May 19, 2016
Jack-Collins commentedon May 19, 2016
I successfully created a travis hook using the above. Wasn't sure where to document it...
clayreimann commentedon May 19, 2016
@Jack-Collins the best place to document it would be to add an example in the
gh-pagesbranch.Jack-Collins commentedon May 20, 2016
pr here: #336