Skip to content

Commit

Permalink
Merge pull request #29844 from kamipo/create_rails_user_on_travis_ci
Browse files Browse the repository at this point in the history
Create `rails@localhost` user on travis ci
  • Loading branch information
kaspth authored and eileencodes committed Sep 18, 2017
1 parent 10903a4 commit bb21cd2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ci/travis.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
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',
Expand Down

0 comments on commit bb21cd2

Please sign in to comment.