aboutsummaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorChad Woolley <thewoolleyman@gmail.com>2009-08-11 22:53:55 -0700
committerYehuda Katz <wycats@gmail.com>2009-08-12 00:11:16 -0700
commitf413a703ba5bcf4b369932ae805615c4a34d34cb (patch)
treefbb2abd90bee579efd364983d7df7349e9beb721 /ci
parentba67e256b8bb3749090fcf7ccaff497ea006b1d1 (diff)
downloadrails-f413a703ba5bcf4b369932ae805615c4a34d34cb.tar.gz
rails-f413a703ba5bcf4b369932ae805615c4a34d34cb.tar.bz2
rails-f413a703ba5bcf4b369932ae805615c4a34d34cb.zip
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>
Diffstat (limited to 'ci')
-rwxr-xr-xci/ci_build.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/ci_build.rb b/ci/ci_build.rb
index 0b9bd3d278..7d81fa843a 100755
--- a/ci/ci_build.rb
+++ b/ci/ci_build.rb
@@ -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