Module: Travis::Artifacts

Defined in:
lib/travis/artifacts.rb,
lib/travis/artifacts/cli.rb,
lib/travis/artifacts/path.rb,
lib/travis/artifacts/test.rb,
lib/travis/artifacts/logger.rb,
lib/travis/artifacts/artifact.rb,
lib/travis/artifacts/uploader.rb

Defined Under Namespace

Modules: Logger Classes: Artifact, Cli, Path, Test, Uploader

Class Method Summary collapse

Class Method Details

.aws_configObject


14
15
16
17
18
19
# File 'lib/travis/artifacts.rb', line 14

def self.aws_config
  { :aws_access_key_id => ENV['ARTIFACTS_AWS_ACCESS_KEY_ID'],
    :aws_secret_access_key => ENV['ARTIFACTS_AWS_SECRET_ACCESS_KEY'],
    :region => ENV['ARTIFACTS_AWS_REGION'] || 'us-east-1'
  }
end

.bucket_nameObject


21
22
23
# File 'lib/travis/artifacts.rb', line 21

def self.bucket_name
  ENV['ARTIFACTS_S3_BUCKET']
end