Add travis config.

This configuration is a bit ambitious, so I'll most likely end up
removing some of these Ruby versions in a future commit.