Sha256: f27960ed5dba4c739b50ea3f27a81bcadcb376fddea558c8369e9c50bec56032

Contents?: true

Size: 622 Bytes

Versions: 2

Compression:

Stored size: 622 Bytes

Contents

#!/usr/bin/env ruby
#
# Run all appraisals, with all specified rubies
#
require 'yaml'


RUBIES = ['2.4.5', '2.5.5']
APPRAISALS = `appraisal list`.strip.split(/\s+/)

# setup
RUBIES.each do |ruby|
  ENV['RBENV_VERSION'] = ruby
  system 'rbenv version'
  system 'rbenv exec ruby -v'
  system 'rbenv exec bundle check || rbenv exec bundle install'
  system "rbenv exec appraisal install"
end

# tests
RUBIES.each do |ruby|
  ENV['RBENV_VERSION'] = ruby
  system 'rbenv exec ruby -v'
  APPRAISALS.each do |variant|
    puts "*** Ruby #{ruby} / variant #{variant}"
    system "rbenv exec appraisal #{variant} rspec"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
roo_on_rails-2.0.0.pre.pre.2 appraise
roo_on_rails-2.0.0.pre.pre.1 appraise