Added .travis.yml

I've added a `.travis.yml`, to allow tests to be run on Travis CI.