Add Travis CI

Closes #1.