Adding travis build rules

PTAL @broady 
I don't think this actually works. Couldn't the pull request remove this code?