Sha256: dedf976b284953a47f24b375aa98ed7087db9cb2319d261a9982f68458cb361d

Contents?: true

Size: 486 Bytes

Versions: 5

Compression:

Stored size: 486 Bytes

Contents

#!/usr/bin/env ruby
require "yaml"
require "English"

YAML.load_file(".travis.yml")["env"].each do |sshkit_version|
  puts "\e[0;34;49m== Running tests against #{sshkit_version} ==\e[0m"
  output = `#{sshkit_version} bundle update`
  raise "bundle update failed: #{output}" unless $CHILD_STATUS.success?
  system("#{sshkit_version} bundle exec rake test")
end

system("bundle exec rake rubocop")

at_exit do
  puts "\e[0;34;49m== Resetting sshkit ==\e[0m"
  system("bundle update")
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
airbrussh-1.1.1 bin/test_all.rb
airbrussh-1.1.0 bin/test_all.rb
airbrussh-1.0.2 bin/test_all.rb
airbrussh-1.0.1 bin/test_all.rb
airbrussh-1.0.0 bin/test_all.rb