Permalink
Browse files

make mysql and postgresql rebuild databases on every CI build, to pre…

…vent breakages such as collation and character set changing

Signed-off-by: Yehuda Katz <wycats@gmail.com>
  • Loading branch information...
1 parent 26f22a2 commit f95a7f896e42bed994a843e0ea8073d0373f59fe @thewoolleyman thewoolleyman committed with wycats Aug 12, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 ci/ci_build.rb
View
@@ -28,14 +28,14 @@
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

0 comments on commit f95a7f8

Please sign in to comment.