Class: GitMaintain::TravisCI
Constant Summary collapse
- TRAVIS_URL =
'https://api.travis-ci.com/'
Instance Method Summary collapse
- #checkStableState(br, sha1) ⇒ Object
- #checkValidState(br, sha1) ⇒ Object
- #getStableLog(br, sha1) ⇒ Object
- #getStableState(br, sha1) ⇒ Object
- #getStableTS(br, sha1) ⇒ Object
- #getValidLog(br, sha1) ⇒ Object
- #getValidState(br, sha1) ⇒ Object
- #getValidTS(br, sha1) ⇒ Object
-
#initialize(repo) ⇒ TravisCI
constructor
A new instance of TravisCI.
- #isErrored(br, status) ⇒ Object
Methods inherited from CI
Constructor Details
#initialize(repo) ⇒ TravisCI
Returns a new instance of TravisCI.
5 6 7 8 |
# File 'lib/travis.rb', line 5 def initialize(repo) super(repo) @url = TRAVIS_URL end |
Instance Method Details
#checkStableState(br, sha1) ⇒ Object
67 68 69 |
# File 'lib/travis.rb', line 67 def checkStableState(br, sha1) return checkState(sha1, getBrStableJson()) end |
#checkValidState(br, sha1) ⇒ Object
54 55 56 |
# File 'lib/travis.rb', line 54 def checkValidState(br, sha1) return checkState(sha1, getBrValidJson()) end |
#getStableLog(br, sha1) ⇒ Object
70 71 72 |
# File 'lib/travis.rb', line 70 def getStableLog(br, sha1) return getLog(sha1, getBrStableJson()) end |
#getStableState(br, sha1) ⇒ Object
64 65 66 |
# File 'lib/travis.rb', line 64 def getStableState(br, sha1) return getState(sha1, getBrStableJson()) end |
#getStableTS(br, sha1) ⇒ Object
73 74 75 |
# File 'lib/travis.rb', line 73 def getStableTS(br, sha1) return getTS(sha1, getBrStableJson()) end |
#getValidLog(br, sha1) ⇒ Object
57 58 59 |
# File 'lib/travis.rb', line 57 def getValidLog(br, sha1) return getLog(sha1, getBrValidJson()) end |
#getValidState(br, sha1) ⇒ Object
51 52 53 |
# File 'lib/travis.rb', line 51 def getValidState(br, sha1) return getState(sha1, getBrValidJson()) end |
#getValidTS(br, sha1) ⇒ Object
60 61 62 |
# File 'lib/travis.rb', line 60 def getValidTS(br, sha1) return getTS(sha1, getBrValidJson()) end |
#isErrored(br, status) ⇒ Object
76 77 78 |
# File 'lib/travis.rb', line 76 def isErrored(br, status) return status == "failed" || status == "errored" end |