Sha256: c749182a75dc0fd3d2ed7ce545fdc8f24b62becf5736bf1da52a0e79a2856910

Contents?: true

Size: 660 Bytes

Versions: 1

Compression:

Stored size: 660 Bytes

Contents

require 'yaml'

ruby_versions = %w[2.4.5 2.5.3 2.6.1]
dry_equalizer_versions = %w[0.1.0 0.2.1]

dry_equalizer_versions.each do |version|
  appraise "dry-equalizer-#{version}" do
    gem 'dry-equalizer', version
  end
end

Dir.glob('gemfiles/*.gemfile').tap do |gemfiles|
  travis = ::YAML.dump(
    'cache' => {
      'bundler' => true,
    },
    'language' => 'ruby',
    'rvm' => ruby_versions,
    'before_script' => [
      'bundle install',
    ],
    'script' => [
      'bundle exec rspec',
      'bundle exec rubocop --fail-level C',
    ],
    'gemfile' => gemfiles,
  )

  ::File.open('.travis.yml', 'w+') do |file|
    file.write(travis)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fear-0.11.0 Appraisals