Add Linux CI

This PR made use of travis-ci's [multi os](http://docs.travis-ci.com/user/multi-os/) feature to run CI on both Linux and OS X.