Add Travis CI integration

This patch adds Travis CI integration.

Before you merge this, make sure that Travis is turned on for the repository.