Add travis configuration

Travis is a distributed continuous integration service which can be used
for free for open source projects (such as this).