Permalink
Browse files

Merge pull request #29844 from kamipo/create_rails_user_on_travis_ci

Create `rails@localhost` user on travis ci
  • Loading branch information...
kaspth committed Jul 19, 2017
1 parent 0605e7f commit f66cbf6350057f4b2b581d62d1b6ccc91e4f97fe
Showing with 4 additions and 0 deletions.
  1. +4 −0 ci/travis.rb
View
@@ -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',

0 comments on commit f66cbf6

Please sign in to comment.