Class: TravisXcodebuild::Runner
- Inherits:
-
Object
- Object
- TravisXcodebuild::Runner
- Includes:
- Logging
- Defined in:
- lib/travis-xcodebuild/runner.rb
Constant Summary collapse
- CLANG_ISSUES_REGEX =
captures the number of files in group 1
/\((\d) commands with analyzer issues\)/- NO_FAILURES_REGEX =
/with 0 failures/- TEST_FAILED_REGEX =
/TEST FAILED/
Instance Attribute Summary collapse
-
#analyzer_alerts ⇒ Object
readonly
Returns the value of attribute analyzer_alerts.
-
#output ⇒ Object
readonly
Returns the value of attribute output.
-
#stage ⇒ Object
readonly
Returns the value of attribute stage.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Runner
constructor
A new instance of Runner.
- #run ⇒ Object
Methods included from Logging
#log_analyzer, #log_failure, #log_info, #log_success, #log_warning
Constructor Details
#initialize(options = {}) ⇒ Runner
Returns a new instance of Runner.
15 16 17 18 19 |
# File 'lib/travis-xcodebuild/runner.rb', line 15 def initialize( = {}) @output = [] @pid = nil @options = end |
Instance Attribute Details
#analyzer_alerts ⇒ Object (readonly)
Returns the value of attribute analyzer_alerts.
13 14 15 |
# File 'lib/travis-xcodebuild/runner.rb', line 13 def analyzer_alerts @analyzer_alerts end |
#output ⇒ Object (readonly)
Returns the value of attribute output.
13 14 15 |
# File 'lib/travis-xcodebuild/runner.rb', line 13 def output @output end |
#stage ⇒ Object (readonly)
Returns the value of attribute stage.
13 14 15 |
# File 'lib/travis-xcodebuild/runner.rb', line 13 def stage @stage end |
Instance Method Details
#run ⇒ Object
35 36 37 38 |
# File 'lib/travis-xcodebuild/runner.rb', line 35 def run run_xcodebuild finish_build end |