lib/travis/cli/setup/service.rb in travis-1.8.14.travis.1195.9 vs lib/travis/cli/setup/service.rb in travis-1.8.14.travis.1197.9

- old
+ new

@@ -61,9 +61,11 @@ yield config on("#{verb.capitalize} only from #{repository.slug}? ", config, 'repo' => repository.slug) on("#{verb.capitalize} from #{branch} branch? ", config, 'branch' => branch) if branch != 'master' and branch != 'HEAD' + config['skip_cleanup'] = 'true' if not ( config.has_key?('skip_cleanup') or config.fetch('edge', 'false') != 'false' ) + encrypt(config, 'password') if config['password'] and agree("Encrypt Password? ") { |q| q.default = 'yes' } encrypt(config, 'api_key') if config['api_key'] and agree("Encrypt API key? ") { |q| q.default = 'yes' } end end end