Sha256: 3e11ebf32be185a621bd8c5cd0932dca135a987af85d4a6e14c2712b1406d8cb
Contents?: true
Size: 689 Bytes
Versions: 6
Compression:
Stored size: 689 Bytes
Contents
# frozen_string_literal: true require 'travis/cli/setup' module Travis module CLI class Setup class SauceConnect < Service description 'Sauce Connet addon for Sauce Labs integration' service_name 'sauce_connect' def run travis_config['addons'] ||= {} configure 'sauce_connect', {}, travis_config['addons'] do |config| config['username'] = ask('Sauce Labs user: ').to_s config['access_key'] = ask('Sauce Labs access key: ') { |q| q.echo = '*' }.to_s encrypt(config, 'access_key') if agree('Encrypt access key? ') { |q| q.default = 'yes' } end end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems