bin/test_all.rb in airbrussh-1.0.0.beta1 vs bin/test_all.rb in airbrussh-1.0.0
- old
+ new
@@ -3,10 +3,10 @@
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`
- fail "bundle update failed: #{output}" unless $CHILD_STATUS.success?
+ raise "bundle update failed: #{output}" unless $CHILD_STATUS.success?
system("#{sshkit_version} bundle exec rake test")
end
system("bundle exec rake rubocop")