Sha256: 0de8269ed9988877987b5b1e2cbe2b3fe3618f8e6d3d6959e3cab18406099115

Contents?: true

Size: 380 Bytes

Versions: 125

Compression:

Stored size: 380 Bytes

Contents

module KnapsackPro
  module Config
    module CI
      class Travis < Base
        def node_build_id
          ENV['TRAVIS_BUILD_NUMBER']
        end

        def commit_hash
          ENV['TRAVIS_COMMIT']
        end

        def branch
          ENV['TRAVIS_BRANCH']
        end

        def project_dir
          ENV['TRAVIS_BUILD_DIR']
        end
      end
    end
  end
end

Version data entries

125 entries across 125 versions & 1 rubygems

Version Path
knapsack_pro-0.22.0 lib/knapsack_pro/config/ci/travis.rb
knapsack_pro-0.21.0 lib/knapsack_pro/config/ci/travis.rb
knapsack_pro-0.20.0 lib/knapsack_pro/config/ci/travis.rb
knapsack_pro-0.19.0 lib/knapsack_pro/config/ci/travis.rb
knapsack_pro-0.18.0 lib/knapsack_pro/config/ci/travis.rb