mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
make mysql and postgresql rebuild databases on every CI build, to prevent breakages such as collation and character set changing
Signed-off-by: Yehuda Katz <wycats@gmail.com>
This commit is contained in:
parent
ba67e256b8
commit
f413a703ba
1 changed files with 2 additions and 2 deletions
|
@ -28,14 +28,14 @@ cd "#{root_dir}/activerecord" do
|
|||
puts
|
||||
puts "[CruiseControl] Building ActiveRecord with MySQL"
|
||||
puts
|
||||
build_results[:activerecord_mysql] = system 'rake test_mysql'
|
||||
build_results[:activerecord_mysql] = system 'rake mysql:rebuild_databases && rake test_mysql'
|
||||
end
|
||||
|
||||
cd "#{root_dir}/activerecord" do
|
||||
puts
|
||||
puts "[CruiseControl] Building ActiveRecord with PostgreSQL"
|
||||
puts
|
||||
build_results[:activerecord_postgresql8] = system 'rake test_postgresql'
|
||||
build_results[:activerecord_postgresql8] = system 'rake postgresql:rebuild_databases && rake test_postgresql'
|
||||
end
|
||||
|
||||
cd "#{root_dir}/activerecord" do
|
||||
|
|
Loading…
Reference in a new issue