Skip to content

Commit 14e2430

Browse files
authored
Merge pull request rails#29844 from kamipo/create_rails_user_on_travis_ci
Create `rails@localhost` user on travis ci
2 parents 1c2ed0a + 249a982 commit 14e2430

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ci/travis.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
include FileUtils
44

55
commands = [
6+
'mysql -e "create user rails@localhost;"',
7+
'mysql -e "grant all privileges on activerecord_unittest.* to rails@localhost;"',
8+
'mysql -e "grant all privileges on activerecord_unittest2.* to rails@localhost;"',
9+
'mysql -e "grant all privileges on inexistent_activerecord_unittest.* to rails@localhost;"',
610
'mysql -e "create database activerecord_unittest;"',
711
'mysql -e "create database activerecord_unittest2;"',
812
'psql -c "create database activerecord_unittest;" -U postgres',

0 commit comments

Comments
 (0)