aboutsummaryrefslogtreecommitdiffstats
path: root/ci/travis.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ci/travis.rb')
-rwxr-xr-xci/travis.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/ci/travis.rb b/ci/travis.rb
index bb87c8f4ad..6e002d4a5b 100755
--- a/ci/travis.rb
+++ b/ci/travis.rb
@@ -3,6 +3,10 @@ require "fileutils"
include FileUtils
commands = [
+ 'mysql -e "create user rails@localhost;"',
+ 'mysql -e "grant all privileges on activerecord_unittest.* to rails@localhost;"',
+ 'mysql -e "grant all privileges on activerecord_unittest2.* to rails@localhost;"',
+ 'mysql -e "grant all privileges on inexistent_activerecord_unittest.* to rails@localhost;"',
'mysql -e "create database activerecord_unittest;"',
'mysql -e "create database activerecord_unittest2;"',
'psql -c "create database activerecord_unittest;" -U postgres',