Sha256: 3db0bcda7f77e0120aba08cdc035649847bb74090ead7a673f2752e3a7a2b661

Contents?: true

Size: 1.46 KB

Versions: 63

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",
                                       type: Boolean,
                                       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

63 entries across 63 versions & 4 rubygems

Version Path
fastlane-2.225.0 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.224.0 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.223.1 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.223.0 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.222.0 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.221.1 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.221.0 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.220.0 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.219.0 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.218.0 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-security-patched-2.216.0 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.217.0 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.216.0 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.215.1 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.215.0 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-mercafacil-2.214.0 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.214.0 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.213.0 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane-2.212.2 fastlane/lib/fastlane/actions/setup_travis.rb
fastlane_pricing_fix-2.212.1 fastlane/lib/fastlane/actions/setup_travis.rb