Class: TestDots::CIAdapters::TravisCI
- Defined in:
- lib/test_dots/ci_adapters/travis_ci.rb
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#active? ⇒ Boolean
4 5 6 |
# File 'lib/test_dots/ci_adapters/travis_ci.rb', line 4 def active? ENV.has_key?('TRAVIS') end |
#branch ⇒ Object
8 9 10 |
# File 'lib/test_dots/ci_adapters/travis_ci.rb', line 8 def branch ENV['TRAVIS_BRANCH'] end |
#build ⇒ Object
12 13 14 |
# File 'lib/test_dots/ci_adapters/travis_ci.rb', line 12 def build ENV['TRAVIS_BUILD_NUMBER'] end |