.travis.yml changes

This commit is contained in:
André Bauer 2016-10-24 12:50:35 +02:00
parent dc1559c7b8
commit 0abdaa3f9a

View file

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