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
wget https://raw.github.com/grosser/dotfiles/master/bin/github-add-travis
./github-add-travis github-password project-name