Sha256: cd6d0342decdf98aafc2f88eca44c4667b38029ca340b8cb62b1591cb9945544

Contents?: true

Size: 593 Bytes

Versions: 2

Compression:

Stored size: 593 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

# :(
Encoding.default_external = Encoding::UTF_8 if defined? Encoding

# load travis library
require 'bundler/setup' if File.exist? File.expand_path('../Gemfile', __dir__)
require 'travis/cli'

# load plugins
TRAVIS_PLUGINS = []
config_path    = ENV.fetch('TRAVIS_CONFIG_PATH') { File.expand_path('.travis', Dir.home) }
Dir.glob(File.expand_path('*/init.rb', config_path)) do |file|
  TRAVIS_PLUGINS << file.sub("#{config_path}/", '').sub(%r{/init\.rb$}, '')
  load(file)
end
TRAVIS_PLUGINS.freeze

# and off we go then
Travis::CLI.run(ARGV)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
travis-1.14.0 bin/travis
travis-1.13.3 bin/travis