Add travis-ci for continuous integration.

Running tests on 1.9.3, 2.0, and 2.1 as those are our expected target
versions.