.travis.yml changes

This commit is contained in:
André Bauer 2016-10-24 12:50:35 +02:00 committed by Thorsten Eckel
parent 3985e9d7bf
commit 917439316e

View file

@ -14,7 +14,6 @@ if ActiveRecord::Base.connection_config[:adapter] == 'mysql2'
(major, minor) = server_version.split('.')
if server_vendor == 'MySQL'
if major.to_i < 5 || (major.to_i == 5 && minor.to_i < 6)
# rubocop:disable Rails/Output
# rubocop:disable Rails/Exit
p '+++++++++++++++++++++++++++++++++++++++++++++++++++++'
@ -24,9 +23,9 @@ if ActiveRecord::Base.connection_config[:adapter] == 'mysql2'
# rubocop:enable Rails/Exit
# rubocop:enable Rails/Output
end
end
elsif server_vendor == 'MariaDB'
if major.to_i < 10
# rubocop:disable Rails/Output
# rubocop:disable Rails/Exit
p '+++++++++++++++++++++++++++++++++++++++++++++++++++++'
@ -35,5 +34,5 @@ if ActiveRecord::Base.connection_config[:adapter] == 'mysql2'
exit 1
# rubocop:enable Rails/Exit
# rubocop:enable Rails/Output
end
end
end