Add travis configuration file

You need to run "travis encrypt COVERALLS_REPO_TOKEN=<insert repo token from coveralls.io>" (with the repo token you get from coveralls.io) and put the result in the file. (See http://docs.travis-ci.com/user/encryption-keys/)