1) Sign into Travis with your github account and give it permissions.
2) Toggle the repo you want to add Travis to.
3) Add a .travis.yml file, with configuration options.
Lastly, Travis runs via rake - you'll need a rakefile if you don't have one currently. Mine looks like so: