Add .travis.yml.

Closes #22.