Sha256: c338677190f30ee968b14684c3aa722ffcfc87edaa2b8808dd149be15bbfa101

Contents?: true

Size: 1.49 KB

Versions: 207

Compression:

Stored size: 1.49 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)
        [:ios, :mac].include?(platform)
      end

      def self.example_code
        [
          'setup_travis'
        ]
      end

      def self.category
        :misc
      end
    end
  end
end

Version data entries

207 entries across 207 versions & 2 rubygems

Version Path
fastlane-2.130.0.beta.20190817200018 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.130.0.beta.20190816200015 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.130.0.beta.20190815200057 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.130.0.beta.20190814200010 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.129.0 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.129.0.beta.20190813200016 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.129.0.beta.20190811200106 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.129.0.beta.20190810200059 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.129.0.beta.20190809200051 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.129.0.beta.20190808200013 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.129.0.beta.20190807200122 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.129.0.beta.20190806200055 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.129.0.beta.20190805200019 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.129.0.beta.20190804200053 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.129.0.beta.20190803200103 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.129.0.beta.20190802200057 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.129.0.beta.20190731200035 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.129.0.beta.20190730200040 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.129.0.beta.20190729200106 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.129.0.beta.20190728200052 fastlane/lib/fastlane/actions/setup_travis.rb