Add script to generate config on travis.