Sha256: d87c7f8002af2bab9b9c82380b6ce503d3fcdc6a8cbb12c4be9bc5fedb6068cc

Contents?: true

Size: 535 Bytes

Versions: 6

Compression:

Stored size: 535 Bytes

Contents

# frozen_string_literal: true

require 'travis/cli/setup'

module Travis
  module CLI
    class Setup
      class Biicode < Service
        description 'automatic publish to biicode'

        def run
          deploy 'biicode', 'release' do |config|
            config['user'] ||= ask('biicode username: ') { |q| q }.to_s
            config['password'] ||= ask('biicode password: ') { |q| q.echo = '*' }.to_s
            on('publish only tagged commits? ', config, 'tags' => true)
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
travis-1.14.0 lib/travis/cli/setup/biicode.rb
travis-1.13.3 lib/travis/cli/setup/biicode.rb
travis-1.13.2 lib/travis/cli/setup/biicode.rb
travis-1.13.1 lib/travis/cli/setup/biicode.rb
travis-1.13.0 lib/travis/cli/setup/biicode.rb
travis-1.12.0 lib/travis/cli/setup/biicode.rb