.travis.yml changes
This commit is contained in:
parent
dc1559c7b8
commit
0abdaa3f9a
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue