Prepare for Travis CI integration

Add a .travis.yml and a badge to the README.md file.