Add travis CI

Closes #46