I'm not understanding why we need to write special versions of these files out instead of just using the ones in the repo. We could even set environment variables in the .travis.yml and use them in the configs, which would probably be less complex than this.