Class: Fastlane::Actions::SetupTravisAction
Constant Summary
Fastlane::Action::AVAILABLE_CATEGORIES, Fastlane::Action::RETURN_TYPES
Class Method Summary
collapse
action_name, author, deprecated_notes, lane_context, method_missing, other_action, output, return_type, return_value, sample_return_value, shell_out_should_use_bundle_exec?, step_text
Class Method Details
.authors ⇒ Object
38
39
40
|
# File 'fastlane/lib/fastlane/actions/setup_travis.rb', line 38
def self.authors
["KrauseFx"]
end
|
.available_options ⇒ Object
28
29
30
31
32
33
34
35
36
|
# File 'fastlane/lib/fastlane/actions/setup_travis.rb', line 28
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
|
.category ⇒ Object
52
53
54
|
# File 'fastlane/lib/fastlane/actions/setup_travis.rb', line 52
def self.category
:misc
end
|
.description ⇒ Object
12
13
14
|
# File 'fastlane/lib/fastlane/actions/setup_travis.rb', line 12
def self.description
"Setup the keychain and match to work with Travis CI"
end
|
.details ⇒ Object
16
17
18
19
20
21
22
23
24
25
26
|
# File 'fastlane/lib/fastlane/actions/setup_travis.rb', line 16
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
|
.example_code ⇒ Object
46
47
48
49
50
|
# File 'fastlane/lib/fastlane/actions/setup_travis.rb', line 46
def self.example_code
[
'setup_travis'
]
end
|
.is_supported?(platform) ⇒ Boolean
42
43
44
|
# File 'fastlane/lib/fastlane/actions/setup_travis.rb', line 42
def self.is_supported?(platform)
true
end
|
.run(params) ⇒ Object
4
5
6
|
# File 'fastlane/lib/fastlane/actions/setup_travis.rb', line 4
def self.run(params)
other_action.setup_ci(provider: "travis", force: params[:force])
end
|