Update .travis.yml and fix file permissions