Configure Travis build

@monsur, I'm setting up CI for the library on Travis, FYI.