Sha256: c759850ba470ac1688c9e18bd9ec6dca9b7e5d8640a9c1fa17e0b297841d1c32

Contents?: true

Size: 1.46 KB

Versions: 52

Compression:

Stored size: 1.46 KB

Contents

module Fastlane
  module Actions
    class SetupTravisAction < Action
      def self.run(params)
        other_action.setup_ci(provider: "travis", force: params[:force])
      end

      #####################################################
      # @!group Documentation
      #####################################################

      def self.description
        "Setup the keychain and match to work with Travis CI"
      end

      def self.details
        list = <<-LIST.markdown_list(true)
          Creates a new temporary keychain for use with match
          Switches match to `readonly` mode to not create new profiles/cert on CI
        LIST

        [
          list,
          "This action helps with Travis integration. Add this to the top of your Fastfile if you use Travis."
        ].join("\n")
      end

      def self.available_options
        [
          FastlaneCore::ConfigItem.new(key: :force,
                                       env_name: "FL_SETUP_TRAVIS_FORCE",
                                       description: "Force setup, even if not executed by travis",
                                       is_string: false,
                                       default_value: false)
        ]
      end

      def self.authors
        ["KrauseFx"]
      end

      def self.is_supported?(platform)
        true
      end

      def self.example_code
        [
          'setup_travis'
        ]
      end

      def self.category
        :misc
      end
    end
  end
end

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
fastlane-2.186.0 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.185.1 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.185.0 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.184.1 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.184.0 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.183.2 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.183.1 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.183.0 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.182.0 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.181.0 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.180.1 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.180.0 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.179.0 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.178.0 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.177.0 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.176.0 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.175.0 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.174.0 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.173.0 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.172.0 fastlane/lib/fastlane/actions/setup_travis.rb