ci: Add a Travis configuration

This fixes #5.
Merge pull request #11 from Cangjians/travis

ci: Add a Travis configuration