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-1.0.0 lib/knapsack_pro/config/ci/travis.rb
knapsack_pro-0.57.0 lib/knapsack_pro/config/ci/travis.rb
knapsack_pro-0.56.0 lib/knapsack_pro/config/ci/travis.rb
knapsack_pro-0.55.2 lib/knapsack_pro/config/ci/travis.rb
knapsack_pro-0.55.1 lib/knapsack_pro/config/ci/travis.rb
knapsack_pro-0.55.0 lib/knapsack_pro/config/ci/travis.rb
knapsack_pro-0.54.0 lib/knapsack_pro/config/ci/travis.rb
knapsack_pro-0.53.0 lib/knapsack_pro/config/ci/travis.rb
knapsack_pro-0.52.0 lib/knapsack_pro/config/ci/travis.rb
knapsack_pro-0.51.0 lib/knapsack_pro/config/ci/travis.rb
knapsack_pro-0.50.1 lib/knapsack_pro/config/ci/travis.rb
knapsack_pro-0.50.0 lib/knapsack_pro/config/ci/travis.rb
knapsack_pro-0.49.0 lib/knapsack_pro/config/ci/travis.rb
knapsack_pro-0.48.0 lib/knapsack_pro/config/ci/travis.rb
knapsack_pro-0.47.0 lib/knapsack_pro/config/ci/travis.rb
knapsack_pro-0.46.0 lib/knapsack_pro/config/ci/travis.rb
knapsack_pro-0.45.0 lib/knapsack_pro/config/ci/travis.rb
knapsack_pro-0.44.0 lib/knapsack_pro/config/ci/travis.rb
knapsack_pro-0.43.0 lib/knapsack_pro/config/ci/travis.rb
knapsack_pro-0.42.0 lib/knapsack_pro/config/ci/travis.rb