I got tired of clicking through the github menus, so after some toying around with the octopi github client (which does not work as expected…), I wrote this small script using pure rest-client.
Creates a new travis hook based on the travis info in your .gitconfig
and also triggers the initial test-run.
add to ~/.gitconfig
[travis] user = xxx token = yyy
download & run the Script
./github-add-travis github-password project-name