Add travis.yml file

As @orta pointed out the travis build seems to have started to fail a while ago. I created a `.travis.yml` file to that should make the tests run correctly again.